Android Studio发布apk报错

LayaAir 2.1.1,Native版本2.0,发布资源地址都填对了,单机版和非单机版都不能进入游戏。
ww.png

报错堆栈:
08-08 14:03:53.145 18569-18569/com.lightpaw.dietyroad E/LayaGameEngine: game_plugin_set_option key=localize value=true
08-08 14:03:53.145 18569-18569/com.lightpaw.dietyroad E/LayaGameEngine: game_plugin_set_option key=gameUrl value=http://192.168.1.64:8900/bin/index.html
08-08 14:03:53.145 18569-18569/com.lightpaw.dietyroad E/LayaConch5: >>>>>>>conchjar android-2.0.8
08-08 14:03:53.147 18569-18569/com.lightpaw.dietyroad E/LayaConch5: plugin-----------------onCreate() 
08-08 14:03:53.204 18569-18569/com.lightpaw.dietyroad E/LayaBox: =======================addStaticMethod=========zz7b15c180
08-08 14:03:53.205 18569-18569/com.lightpaw.dietyroad E/0: ==============Java流程 InitMainCanvas()
08-08 14:03:53.206 18569-18569/com.lightpaw.dietyroad E/LayaConch5: plugin-----------------EngineStart() = /data/user/0/com.lightpaw.dietyroad//LayaCache/localstorage
08-08 14:03:53.346 18569-18569/com.lightpaw.dietyroad E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
08-08 14:03:53.381 18569-18569/com.lightpaw.dietyroad E/LayaGameEngine: game_plugin_init soPath= jarfile= appcache=/data/user/0/com.lightpaw.dietyroad/
08-08 14:03:53.381 18569-18569/com.lightpaw.dietyroad E/LayaGameEngine: game_plugin_get_view
08-08 14:03:53.386 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:resumeBackgroundMusic
08-08 14:03:53.386 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>before
08-08 14:03:53.386 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>after
08-08 14:03:54.306 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair/game/browser/ExportJavaFunction,methodName:GetDeviceInfo
08-08 14:03:54.306 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>before
08-08 14:03:54.306 18569-18640/com.lightpaw.dietyroad E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
08-08 14:03:54.308 18569-18640/com.lightpaw.dietyroad E/LayaBox: java.lang.SecurityException: getDeviceId: Neither user 10255 nor current process has android.permission.READ_PHONE_STATE.
08-08 14:03:54.311 18569-18640/com.lightpaw.dietyroad E/LayaBox: java.lang.SecurityException: getSubscriberId: Neither user 10255 nor current process has android.permission.READ_PHONE_STATE.
08-08 14:03:54.316 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>after
08-08 14:03:54.316 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.game.utility.ProcessInfo,methodName:getTotalMem
08-08 14:03:54.316 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>before
08-08 14:03:54.317 18569-18640/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>after
08-08 14:03:54.378 18569-18640/com.lightpaw.dietyroad E/LayaBox: JsAppCache::loadCachedURL Error, no cache data.
08-08 14:04:51.660 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:pauseBackgroundMusic
08-08 14:04:51.660 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>before
08-08 14:04:51.660 18569-18569/com.lightpaw.dietyroad E/LayaBox: >>>>>>>>>>>>after
 
已邀请:

Brian_Wale

赞同来自:

请问有没有官方人员,可以发项目包,求指教,阻碍上线了,急~

Laya_Aaron

赞同来自:

这个 native 引擎 ,IDE 的版本 都要配套的。如果 配套了还有问题 可以把出问题的 laya项目发来查一查

Brian_Wale

赞同来自:

发布单机版不需要设置资源目录

要回复问题请先

商务合作
商务合作