急!unity打包到unity2017安卓打包上报错

求解决unity 输出至android问题_百度知道
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。
求解决unity 输出至android问题
每次转换都弹出
please set the bundle identifier in the player setting
the value must follow the convention
'com.YourCompanyName.YourProductName'and can contain alphanumeric characters and underscore.each segment must not start with a nu...
我有更好的答案
//g./zhidao/pic/item/3ac79f3df8dcd100fc3cb0b8122ff1.baidu.jpg" target="_blank" title="点击查看大图" class="ikqb_img_alink"><img class="ikqb_img" src="/zhidao/wh%3D600%2C800/sign=588af71abb4ebbac79f3df8dcd100fc3cb0b8122ff1.jpg" esrc="http://g.hiphotos.baidu将红色框内的名字改成你自定义的名字<a href="http
采纳率:59%
你的报名不能以数字开头,可以是字母或者下划线。
为您推荐:
其他类似问题
android的相关知识
&#xe675;换一换
回答问题,赢新手礼包&#xe6b9;Unity配置Android环境,打包发布安卓流程_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
Unity配置Android环境,打包发布安卓流程
北京奇酷动力信息技术有限公司是一家从事虚...|
总评分0.0|
&&Unity配置Android环境,打包发布安卓流程
阅读已结束,下载文档到电脑
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,方便使用
还剩11页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢问题补充&&
本页链接:
可能是 不兼容,U3D只能支持到NET.2.0,对 其他的库没法转换到 安卓平台上
&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;
新版本android sdk文件结构改变了,apkbuilder.bat这个文件可以去*姹緎kd拷贝一个,然后放到ApplicationName指定的位置。这样就行了。后面出错误提示什么找到相应的文件,然后拷贝进去就行了。
fortunely&
猜你感兴趣问题一:Exception: JNI: Init'd AndroidJavaObject with null ptr
& & 解决方法: 所有关于JNI出现的问题,只有三种错误存在,第一是需要在真机上运行测试,不需要管;第二就是Bundle Identifier设置的与android工程的包名不同,设置为相同的即可;第三就是在new 一个AndroidJavaClass时,括号里的内容要与Android工程上的类名相同。
问题二:Invalid serialized file version. File: "/data/app/com.ut.vrautocycling-1/base.apk/assets/bin/Data/globalgamemanagers". Expected version: 5.4.1f1. Actual version: 5.4.3f1.
& & &解决方法:在android工程里面,未替换libmain.so、libmono.so、libunity.so三个文件,只要替换过来就好了。三个文件是在libs-armeabi-v7a文件夹下面。
问题三:&Unity:&[EGL]&Failed&to&create&protected&window&surface:&EGL_BAD_ATTRIBUTE:&
& & & & & & & & & & & An&unrecognized&attribute&or&attribute&value&was&passed&in&the&attribute&list.& & & & & & & & & & & & & & & & & & & & & & & & & & & & &
& & & & (Filename:&./Runtime/GfxDevice/egl/WindowContextEGL.cpp&Line:&127)
& &解决方法:在player Settings设置里的other settings下,Auto Graphics API要打勾,Protect&Graphics Memory 不打勾,一旦有一个错误,测试时便会卡住,并出现上面的问题。
阅读(...) 评论()今天又遇到了在安卓出包时,直接报错了两个错误,报错信息分别如下:
Installation failed with the following output:
pkg: /data/local/tmp/Package.apk
UnityException: Unable to install APK!
Installation failed. See the Console for details.
两个错误信息的详细描述如下:
Installation failed with the following output:
pkg: /data/local/tmp/Package.apk
Failure [INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE]
5194 KB/s ( bytes in 4.553s)
UnityEditor.HostView:OnGUI()
UnityException: Unable to install APK!
Installation failed. See the Console for details.
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
UnityEditor.Android.PostProcessAndroidPlayer.UploadAndStartPlayer (System.String manifestName, System.String stagingArea, UnityEditor.Android.AndroidDevice device, System.String packageName, Boolean developmentPlayer, Boolean retryUpload)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (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.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) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()
安卓出包时出现这个bug的原因,是因为当前项目的包名和手机上已安装的某个app包名相同,导致了冲突。解决办法就是直接将手机上导致冲突的app直接卸载掉就OK了。
这个bug已经遇到过多次了,是因为我在真机测试时装了一个测试程序,然后过了一段时间后,PlayerSettings中的某些设置被改变了,没有删除安装的测试包,就直接Build And Run,然后就报上述的错误了。
把这个Bug在博客里记录一下,加深点印象,顺便分享出去,希望能帮到遇到同样问题的朋友。
如果本文有错误之处还请帮忙指出。本文欢迎转载,但转载请注明出处:
阅读(...) 评论()}

我要回帖

更多关于 unity打包安卓要ndk吗 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信