1***@qq.com
1***@qq.com
  • 发布:2018-02-05 14:58
  • 更新:2018-02-05 15:00
  • 阅读:4879

严重问题之sdk两种集成方式导致的APP点击打开闪退

分类:5+ SDK

详细问题描述
两种离线方式打包导致的,webview方式从此打不开app了,卸载掉,重新装原来的纯webview集成方式的app,也是打不开;

重现步骤
[步骤]
[结果]
[期望]

运行环境
安卓5.1
谷歌内核浏览器

联系方式
[QQ]1440053982

log日志:
02-05 14:16:31.027: E/DCloud_LOG(16773): fmgr no dp
02-05 14:16:31.158: E/DCloud_LOG(16773): channel:com.HBuilder.integratenew;ver:1.9.9.39354;ssdk:false;max:3;trim:0;dg:false
02-05 14:16:31.261: E/webviewchromiumloader(16773): Failed to open relro file /data/misc/shared_relro/libwebviewchromium32.relro: No such file or directory
02-05 14:16:31.271: E/art(16773): dlopen("/system/app/webview/lib/arm/libwebviewchromium.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
02-05 14:16:31.284: E/WebViewFactory(16773): error instantiating provider
02-05 14:16:31.284: E/WebViewFactory(16773): java.lang.RuntimeException: Invalid reflection
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory$Api21CompatibilityDelegate.<init>(WebViewDelegateFactory.java:225)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory.createApi21CompatibilityDelegate(WebViewDelegateFactory.java:97)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:112)
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.reflect.Constructor.newInstance(Native Method)
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.Class.newInstance(Class.java:1606)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:124)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.getFactory(WebView.java:2325)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.ensureProviderCreated(WebView.java:2320)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.setOverScrollMode(WebView.java:2379)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.view.View.<init>(View.java:3632)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.view.View.<init>(View.java:3736)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.view.ViewGroup.<init>(ViewGroup.java:524)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:580)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:525)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:508)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:495)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:485)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.adapter.ui.WebViewImpl.<init>(AdaWebview.java:1652)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.adapter.ui.AdaWebview.<init>(AdaWebview.java:178)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.b.e.<init>(DHWebview.java:47)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.a(WindowMgr.java:1397)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.processEvent(WindowMgr.java:411)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.processEvent(WindowMgr.java:243)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.a.dispatchEvent(Core.java:550)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.a.a.processEvent(AppMgr.java:127)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.a.d.a(WebApp.java:2243)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.a.a.processEvent(AppMgr.java:180)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.a.dispatchEvent(Core.java:538)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.obatinFirstPage(SDK.java:194)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.createWebview(SDK.java:185)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.createWebview(SDK.java:160)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.HBuilder.integrate.WebviewModeListener.onCoreInitEnd(SDK_WebView.java:147)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.a.a(Core.java:159)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.common.b.b.a(PandoraEntryProxy.java:52)
02-05 14:16:31.284: E/WebViewFactory(16773): at io.dcloud.EntryProxy.onCreate(EntryProxy.java:96)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.HBuilder.integrate.SDK_WebView.onCreate(SDK_WebView.java:46)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.Activity.performCreate(Activity.java:6100)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2481)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2614)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.ActivityThread.access$800(ActivityThread.java:178)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.os.Handler.dispatchMessage(Handler.java:111)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.os.Looper.loop(Looper.java:194)
02-05 14:16:31.284: E/WebViewFactory(16773): at android.app.ActivityThread.main(ActivityThread.java:5643)
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.reflect.Method.invoke(Native Method)
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.reflect.Method.invoke(Method.java:372)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
02-05 14:16:31.284: E/WebViewFactory(16773): Caused by: java.lang.NoSuchMethodException: callDrawGLFunction [long]
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.Class.getMethod(Class.java:664)
02-05 14:16:31.284: E/WebViewFactory(16773): at java.lang.Class.getMethod(Class.java:643)
02-05 14:16:31.284: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory$Api21CompatibilityDelegate.<init>(WebViewDelegateFactory.java:212)
02-05 14:16:31.284: E/WebViewFactory(16773): ... 49 more
02-05 14:16:31.288: E/webviewchromiumloader(16773): Failed to open relro file /data/misc/shared_relro/libwebviewchromium32.relro: No such file or directory
02-05 14:16:31.290: E/art(16773): dlopen("/system/app/webview/lib/arm/libwebviewchromium.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
02-05 14:16:31.294: E/WebViewFactory(16773): error instantiating provider
02-05 14:16:31.294: E/WebViewFactory(16773): java.lang.RuntimeException: Invalid reflection
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory$Api21CompatibilityDelegate.<init>(WebViewDelegateFactory.java:225)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory.createApi21CompatibilityDelegate(WebViewDelegateFactory.java:97)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:112)
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.reflect.Constructor.newInstance(Native Method)
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.Class.newInstance(Class.java:1606)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:124)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.getFactory(WebView.java:2325)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.ensureProviderCreated(WebView.java:2320)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.setOverScrollMode(WebView.java:2379)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.view.View.<init>(View.java:3632)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.view.View.<init>(View.java:3736)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.view.ViewGroup.<init>(ViewGroup.java:524)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:580)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:525)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:508)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:495)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.webkit.WebView.<init>(WebView.java:485)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.adapter.ui.WebViewImpl.<init>(AdaWebview.java:1652)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.adapter.ui.AdaWebview.<init>(AdaWebview.java:181)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.b.e.<init>(DHWebview.java:47)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.a(WindowMgr.java:1397)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.processEvent(WindowMgr.java:411)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.b.l.processEvent(WindowMgr.java:243)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.a.dispatchEvent(Core.java:550)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.a.a.processEvent(AppMgr.java:127)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.a.d.a(WebApp.java:2243)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.a.a.processEvent(AppMgr.java:180)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.a.dispatchEvent(Core.java:538)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.obatinFirstPage(SDK.java:194)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.createWebview(SDK.java:185)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.feature.internal.sdk.SDK.createWebview(SDK.java:160)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.HBuilder.integrate.WebviewModeListener.onCoreInitEnd(SDK_WebView.java:147)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.a.a(Core.java:159)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.common.b.b.a(PandoraEntryProxy.java:52)
02-05 14:16:31.294: E/WebViewFactory(16773): at io.dcloud.EntryProxy.onCreate(EntryProxy.java:96)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.HBuilder.integrate.SDK_WebView.onCreate(SDK_WebView.java:46)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.Activity.performCreate(Activity.java:6100)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2481)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2614)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.ActivityThread.access$800(ActivityThread.java:178)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.os.Handler.dispatchMessage(Handler.java:111)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.os.Looper.loop(Looper.java:194)
02-05 14:16:31.294: E/WebViewFactory(16773): at android.app.ActivityThread.main(ActivityThread.java:5643)
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.reflect.Method.invoke(Native Method)
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.reflect.Method.invoke(Method.java:372)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
02-05 14:16:31.294: E/WebViewFactory(16773): Caused by: java.lang.NoSuchMethodException: callDrawGLFunction [long]
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.Class.getMethod(Class.java:664)
02-05 14:16:31.294: E/WebViewFactory(16773): at java.lang.Class.getMethod(Class.java:643)
02-05 14:16:31.294: E/WebViewFactory(16773): at com.android.webview.chromium.WebViewDelegateFactory$Api21CompatibilityDelegate.<init>(WebViewDelegateFactory.java:212)
02-05 14:16:31.294: E/WebViewFactory(16773): ... 49 more
02-05 14:16:31.314: E/MPlugin(16773): Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
02-05 14:16:31.643: E/DCloudApplication(16730): onTrimMemory

2018-02-05 14:58 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com (作者)

初始使用官方demo测试后,再安装原来纯webview集成方式的安卓apk,apk应用打开后闪退

该问题目前已经被锁定, 无法添加新回复