in Unity
After deploying Nifty Cloud mobile backend (NCMB), when I exported it to an APK file, an error occurred and I could no longer install APK.
Playback on Unity works fine.
If you select Buildadn Run, you will get two errors:
Even if it's not a clear solution, I'd appreciate it if you could point out that this hit is suspicious and common mistakes.
--------------------- First
Installation failed with the following output:
pkg: /data/local/tmp/Package.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
4242 KB/s (34974957 bytes in 8.051s)
UnityEditor.HostView: OnGUI()
----------------- Second
UnityException—Unable to install APK!
Installation failed.See the Console for details.
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exceptionex)
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
UnityEditor.Android.PostProcessAndroidPlayer.UploadAndStartPlayer (System.String manifestName, System.String stagingArea, UnityEditor.Android.AndroidDevice, System.String packageName, Boolean developmentPlayer, Boolean retryUpload)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal(System.String stagingAreaData,System.String stagingArea,System.String playerPackage,System.StringinstallPath,System.String companyName,System.StringproductName,BuildOptions.RoundTimeData,UnitRuleTime
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess(BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityRuleDuration
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuilldPipeline / PostprocessBuildPlayer.cs:316)
UnityEditor.HostView: OnGUI()
in manifest.xml in Assets/Plugins/Android/
I had to write down my package name by hand.
© 2024 OneMinuteCode. All rights reserved.