|
本帖最后由 eye215 于 2018-1-19 14:49 编辑
打包选择模式一,WebView 引擎选的自动选择;如果选择crosswalk 引擎就不会出行此问题。
调试的手机是安卓5.0.2的版本。
在android studio下调试出现以下错误:
- 01-19 14:09:29.084 2976-2976/? E/Typeface: SANS_LOC file not found.
- 01-19 14:09:32.774 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libtbs_crash_handler.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libtbs_crash_handler.so" is 32-bit instead of 64-bit
- 01-19 14:09:32.824 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libwebp_base.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libwebp_base.so" is 32-bit instead of 64-bit
- 01-19 14:09:32.824 2976-2976/com.juziziyouren.haichun E/[image]: Load WebP Library Error...: libwebp.java - loadWepLibraryIfNeed()
- 01-19 14:09:32.884 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so" is 32-bit instead of 64-bit
- 01-19 14:09:32.884 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so" is 32-bit instead of 64-bit
- 01-19 14:09:32.894 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libcommon_basemodule_jni.so" is 32-bit instead of 64-bit
- 01-19 14:09:32.894 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libqb_keystore.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libqb_keystore.so" is 32-bit instead of 64-bit
- 01-19 14:09:33.064 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libwebp_base.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libwebp_base.so" is 32-bit instead of 64-bit
- 01-19 14:09:33.064 2976-2976/com.juziziyouren.haichun E/[image]: Load WebP Library Error...: libwebp.java - loadWepLibraryIfNeed()
- 01-19 14:09:33.064 2976-2976/com.juziziyouren.haichun E/art: dlopen("/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-bit
- 01-19 14:09:33.074 2976-2976/com.juziziyouren.haichun E/TBSShell: TBS:initX5Core -- loadSucc: false; exception: java.lang.reflect.InvocationTargetException; cause: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.tencent.mm/app_tbs/core_share/libmttwebview.so" is 32-bit instead of 64-bit
- at java.lang.Runtime.load(Runtime.java:331)
- at java.lang.System.load(System.java:982)
- at com.tencent.smtt.webkit.ContextHolder.loadMttWebViewLib(Unknown Source)
- at com.tencent.smtt.webkit.ContextHolder.setContext(Unknown Source)
- at com.tencent.smtt.webkit.ContextHolder.setContext(Unknown Source)
- at java.lang.reflect.Method.invoke(Native Method)
- at java.lang.reflect.Method.invoke(Method.java:372)
- at com.tencent.tbs.x5core.X5CoreInit.setContextHolderParams(Unknown Source)
- at com.tencent.tbs.tbsshell.TBSShell.initX5CoreImpl(Unknown Source)
- at com.tencent.tbs.tbsshell.WebCoreProxy.canUseX5(Unknown Source)
- at com.tencent.tbs.tbsshell.WebCoreProxy.createSDKWebview(Unknown Source)
- at java.lang.reflect.Method.invoke(Native Method)
- at java.lang.reflect.Method.invoke(Method.java:372)
- at com.tencent.smtt.export.external.DexLoader.invokeStaticMethod(Unknown Source)
- at com.tencent.smtt.sdk.ah.a(Unknown Source)
- at com.tencent.smtt.sdk.WebView.<init>(Unknown Source)
- at com.tencent.smtt.sdk.WebView.<init>(Unknown Source)
- at com.tencent.smtt.sdk.WebView.<init>(Unknown Source)
- at com.tencent.smtt.sdk.WebView.<init>(Unknown Source)
- at com.justep.cordova.plugin.engine.tencent.TencentWebView.<init>(TencentWebView.java:0)
- at com.justep.cordova.plugin.engine.tencent.TencentWebView.<init>(TencentWebView.java:0)
- at com.justep.cordova.plugin.engine.tencent.TencentWebViewEngine.<init>(TencentWebViewEngine.java:0)
- at java.lang.reflect.Constructor.newInstance(Native Method)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
- at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:82)
- at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:202)
- at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:198)
- at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:147)
- at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:220)
- at com.juziziyouren.haichun.MainActivity.startLoadUrl(MainActivity.java:107)
- at com.juziziyouren.haichun.MainActivity.access$100(MainActivity.java:45)
- at com.juziziyouren.haichun.MainActivity$1.run(MainActivity.java:136)
- at android.os.Handler.handleCallback(Handler.java:739)
- at android.os.Handler.dispatchMessage(Handler.java:95)
- at android.os.Looper.loop(Looper.java:155)
- at android.app.ActivityThread.main(ActivityThread.java:5702)
- at java.lang.reflect.Method.invoke(Native Method)
- at java.lang.reflect.Method.invoke(Method.java:372)
- at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
- at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
- 01-19 14:09:33.074 2976-2976/com.juziziyouren.haichun E/ERRIR:: 64-bit mode is not supported by x5, to solve the problem please refer to : https://x5.tencent.com/tbs/technical.html#/detail/sdk/1/34cf1488-7dc2-41ca-a77f-0014112bcab7
复制代码 |
|