[]用模块器报错,真机不会有这个问题,具体看补充


1.png

I/art: Increasing code cache capacity to 128KB
I/art: Do partial code cache collection, code=56KB, data=40KB
I/art: After code cache collection, code=53KB, data=39KB
I/art: Increasing code cache capacity to 256KB
W/System: ClassLoader referenced unknown path: /data/app/com.layademo-1/lib/x86

          [ 02-16 02:37:06.759  1874: 1874 D/         ]
          >>>>>>>>>>>>>>>>>>>>>>>>
E/LayaGameEngine: game_plugin_set_option key=localize value=false
E/LayaGameEngine: game_plugin_set_option key=gameUrl value=http://www.layademo.com/index.html
D/LayaGameEngine: game_plugin_init url =http://www.layademo.com/index.html
D/LayaGameEngine: url=http://www.layademo.com/index.html
D/RuntimeProxy: laya_get_value key=CacheDirInSdcard
D/RuntimeProxy: laya_get_value key=CacheDir
I/layaConch3: m_interceptKey OK!
E/LayaConch5: >>>>>>>conchjar android-2.0.8
E/LayaConch5: plugin-----------------onCreate() 

              [ 02-16 02:37:06.773  1874: 1874 E/         ]
              m_pPlatform = layaair.game.Market.MarketTest@aee4266
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
                  Process: com.layademo, PID: 1874
                  java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/com.layademo/files/instant-run/dex/slice-support-annotations-22.1.1_2426bebeb4e747a41319012a23f027e43d1bc510-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-layaconch_8448bd264e1396d4af1d9c794a5aa012c458ade9-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-internal_impl-22.1.1_0f21fce55492e5e621cb878733d244a7095344ad-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-com.android.support-support-v4-22.1.1_95a5f724be4dc6357fec0c0e2f55afa9b64bba49-classes.dex", dex file "/data/data/com.layademo/files/instant-run/dex/slice-com.android.support-appcompat-v7-22.1.1_22aba8853078610b233361d4cbb833a5ac8d014d-classes.dex"],nativeLibraryDirectories=[/data/app/com.layademo-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "liblayaair.so"
                      at java.lang.Runtime.loadLibrary0(Runtime.java:972)
                      at java.lang.System.loadLibrary(System.java:1530)
                      at layaair.game.browser.ConchJNI.initNativeLibrary(ConchJNI.java:19)
                      at layaair.game.conch.LayaConch5.onCreate(LayaConch5.java:238)
                      at layaair.game.Market.GameEngine.game_plugin_init(GameEngine.java:80)
                      at demo.MainActivity.onCreate(MainActivity.java:41)
                      at android.app.Activity.performCreate(Activity.java:6664)
                      at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
                      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
                      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
                      at android.app.ActivityThread.-wrap12(ActivityThread.java)
                      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
                      at android.os.Handler.dispatchMessage(Handler.java:102)
                      at android.os.Looper.loop(Looper.java:154)
                      at android.app.ActivityThread.main(ActivityThread.java:6077)
                      at java.lang.reflect.Method.invoke(Native Method)
                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Disconnected from the target VM, address: 'localhost:8613', transport: 'socket'
模拟器运行会报这个错误,但是真机是正常的,请问是什么原因呢?
已邀请:

Laya_XS

赞同来自:

模拟器不支持运行layaair打包发布的apk文件

要回复问题请先

商务合作
商务合作