打Android包出现异常UnityException: Bundle Identifier has not been set up correctly
2017-03-28 11:40
701 查看
异常如下
UnityException: Bundle Identifier has not been set up correctly
Please set the Bundle Identifier in the Player Settings. The value must follow the convention 'com.YourCompanyName.YourProductName' and can contain alphanumeric characters and underscore.
Each segment must not start with a numeric character or underscore.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message)
UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.ThrowIfInvalid (System.String packageName)
UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions
options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
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, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176)
UnityEditor.HostView:OnGUI()
这是因为包名错误的原因,解决办法如下
UnityException: Bundle Identifier has not been set up correctly
Please set the Bundle Identifier in the Player Settings. The value must follow the convention 'com.YourCompanyName.YourProductName' and can contain alphanumeric characters and underscore.
Each segment must not start with a numeric character or underscore.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message)
UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.ThrowIfInvalid (System.String packageName)
UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions
options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
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, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176)
UnityEditor.HostView:OnGUI()
这是因为包名错误的原因,解决办法如下
相关文章推荐
- [cnblogs镜像]Unity Android发布“Bundle Identifier has not been set up correctly”
- Unity发布android错误:Bundle Identifier has not been set up correctly
- Unity Android发布“Bundle Identifier has not been set up correctly”
- Error building Player: UnityException: Bundle Identifier has not been set up correctly
- Bundle Identifier has not been set up correctly
- unity3d发布android项目 bundle identifier has not been set up解决
- “Location of the Android SDK has not been set up in the preferences”问题的解决
- “Location of the Android SDK has not been set up in the preferences”问题的解决
- 关于Location of the Android SDK has not been setup in the preferences的解决方法
- 解决maven打包编译出现File encoding has not been set问题
- 异常_LifecycleException: Manager has not yet been started .
- Maven编译出现:File encoding has not been set, using platform encoding GBK
- 异常:android.database.StaleDataException: Attempted to access a cursor after it has been closed
- 【异常处理】java.lang.ClassNotFoundException: Didn't find class "android.os.PersistableBundle"
- Maven之—— 打包编译出现File encoding has not been set问题
- Android 异常 java.lang.RuntimeException: Can't create handler inside thread that has not called Looper
- 问题四20150827解决maven打包编译出现File encoding has not been set问题
- 果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- Android异常总结---ActivityManager: Warning: Activity not started,its current task has been brought to th
- android 升级ADT到22后,出现bug: Could not find class,或者Caused by: java.lang.ClassNotFoundException:异常