NRSDK2.2.0 Build App Error

Packaging Android apps using NRSDK2.2.0 could not overwrite installation to Mi 14, and the first build of the packaging console error!(Unity Version :2021.3.19f1 , Phone:xiaomi14 Android14)

Error message:
①:
DeploymentOperationFailedException: No activity in the manifest with action MAIN and category LAUNCHER. Try launching the application manually on the device.
UnityEditor.Android.AndroidDeploymentTargetsExtension.StartApplication (UnityEditor.Android.AndroidBuildProperties buildProperties, UnityEditor.Android.AndroidDevice device, UnityEditor.ProgressTaskManager taskManager) (at <817a7b1592114b8780b56aa797b594d2>:0)
UnityEditor.Android.AndroidDeploymentTargetsExtension+<>c__DisplayClass15_1.b__4 () (at <817a7b1592114b8780b56aa797b594d2>:0)
UnityEditor.ProgressTaskManager.Run () (at <830c43131bfd493c992eda1d9502c102>:0)
UnityEditor.Android.AndroidDeploymentTargetsExtension.LaunchBuildOnTarget (UnityEditor.DeploymentTargets.IDeploymentTargetsMainThreadContext context, UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at <817a7b1592114b8780b56aa797b594d2>:0)
UnityEditor.DeploymentTargets.DeploymentTargetManager.LaunchBuildOnTarget (UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at <830c43131bfd493c992eda1d9502c102>:0)
UnityEditor.PostprocessBuildPlayer+<>c__DisplayClass22_1.b__1 () (at <830c43131bfd493c992eda1d9502c102>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


UnityException: Could not find any valid targets to launch on for Android
UnityEditor.PostprocessBuildPlayer.LaunchOnTargets (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, UnityEditor.Build.Reporting.BuildReport buildReport, System.Collections.Generic.List`1[T] launchTargets) (at <830c43131bfd493c992eda1d9502c102>:0)
UnityEditor.Android.PostProcessAndroidPlayer.Launch (UnityEditor.BuildTarget target, System.String installPath, UnityEditor.Build.Reporting.BuildReport report) (at <817a7b1592114b8780b56aa797b594d2>:0)
UnityEditor.Android.AndroidBuildPostprocessor.LaunchPlayer (UnityEditor.Modules.BuildLaunchPlayerArgs args) (at <817a7b1592114b8780b56aa797b594d2>:0)
UnityEditor.PostprocessBuildPlayer.Launch (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, System.String path, System.String productName, UnityEditor.BuildOptions options, UnityEditor.Build.Reporting.BuildReport buildReport) (at <830c43131bfd493c992eda1d9502c102>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


UnityException: Could not find any valid targets to launch on for Android

Hi, what are the target and minimum APIs you configured before building the apk? And the V2.2 SDK no longer supports 32-bit application.

Can we get a response to that??? I have the same issue tried to debug the last 3 hours and still getting this error…

Please try to specify android 14 in Target API Level, and build again.


After read source code, I found we have to click this button to rewrite a new AndroidManifest.xml, which is useful for me