gpt4 book ai didi

java - 由于异常 :java. lang.ClassNotFoundException : com. android.webview.chromium.Drp,没有 DRP key

转载 作者:太空宇宙 更新时间:2023-11-03 13:47:23 33 4
gpt4 key购买 nike

我们在 Genymotion 模拟器上运行使用 IONIC 框架构建的 Android 应用程序时遇到问题,尽管它在真正的硬件、真正的 Android 手机上运行良好。

我可以看到抛出的错误 No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp

这里是来自 logcat 文件的完整日志 fragment :

09-27 21:53:24.258 I/ActivityManager( 5528): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.ionicframework.myappandroid393856/.MainActivity (has extras)} from uid 10008 on display 0

09-27 21:53:24.317 I/art ( 6438): Late-enabling -Xcheck:jni

09-27 21:53:24.318 I/ActivityManager( 5528): Start proc 6438:com.ionicframework.myappandroid393856/u0a60 for activity com.ionicframework.myappandroid393856/.MainActivity

09-27 21:53:24.375 W/System ( 6438): ClassLoader referenced unknown path: /data/app/com.ionicframework.myappandroid393856-1/lib/x86

09-27 21:53:24.480 V/WebViewFactory( 6438): webViewPackageName: com.android.webview

09-27 21:53:24.482 I/WebViewFactory( 6438): Loading com.android.webview version 44.0.2403.119 (code 246011910)

09-27 21:53:24.514 W/System ( 6438): ClassLoader referenced unknown path: /system/app/webview/lib/x86

09-27 21:53:24.526 I/LibraryLoader( 6438): Time to load native libraries: 1 ms (timestamps 8014-8015)

09-27 21:53:24.532 I/LibraryLoader( 6438): Expected native library version number "",actual native library version number ""

09-27 21:53:24.577 V/WebViewChromiumFactoryProvider( 6438): Binding Chromium to main looper Looper (main, tid 1) {10f7532}

09-27 21:53:24.578 I/LibraryLoader( 6438): Expected native library version number "",actual native library version number ""

09-27 21:53:24.578 I/chromium( 6438): [INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0

09-27 21:53:24.589 I/BrowserStartupController( 6438): Initializing chromium process, singleProcess=true

09-27 21:53:24.589 W/art ( 6438): Attempt to remove non-JNI local reference, dumping thread

09-27 21:53:24.590 E/SysUtils( 6438): ApplicationContext is null in ApplicationStatus

09-27 21:53:24.659 W/chromium( 6438): [WARNING:resource_bundle.cc(285)] locale_file_path.empty()

09-27 21:53:24.676 D/libEGL ( 6438): loaded /system/lib/egl/libEGL_emulation.so

09-27 21:53:24.677 D/libEGL ( 6438): loaded /system/lib/egl/libGLESv1_CM_emulation.so

09-27 21:53:24.697 D/libEGL ( 6438): loaded /system/lib/egl/libGLESv2_emulation.so

09-27 21:53:24.704 E/libEGL ( 6438): validate_display:255 error 3008 (EGL_BAD_DISPLAY)

09-27 21:53:24.704 E/libEGL ( 6438): validate_display:255 error 3008 (EGL_BAD_DISPLAY)

09-27 21:53:24.705 D/ ( 6438): HostConnection::get() New Host Connection established 0xe8a614f0, tid 6438

09-27 21:53:24.881 E/eglCodecCommon( 6438): glUtilsParamSize: unknow param 0x00008d57

09-27 21:53:25.010 W/AudioManagerAndroid( 6438): Requires BLUETOOTH permission

09-27 21:53:25.070 E/DataReductionProxySettingListener( 6438): No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp

09-27 21:53:25.108 W/art ( 6438): Attempt to remove non-JNI local reference, dumping thread

09-27 21:53:25.140 W/AwContents( 6438): onDetachedFromWindow called when already detached. Ignoring

09-27 21:53:25.154 D/SystemWebViewEngine( 6438): CordovaWebView is running on device made by: Genymotion

09-27 21:53:25.163 W/art ( 6438): Attempt to remove non-JNI local reference, dumping thread

09-27 21:53:25.163 W/art ( 6438): Attempt to remove non-JNI local reference, dumping thread

09-27 21:53:25.174 E/Surface ( 5893): getSlotFromBufferLocked: unknown buffer: 0xe8a03180

09-27 21:53:25.267 D/OpenGLRenderer( 6438): Use EGL_SWAP_BEHAVIOR_PRESERVED: true

09-27 21:53:25.332 V/StatusBar( 6438): StatusBar: initialization

最佳答案

我有这个问题,结果是 JavaScript 包含一些 ES6 粗箭头

()=> {...}

删除它们并返回匿名函数后

function () {...}

此错误不再在 Genymotion 模拟器上引发。它仍然存在于 Android Studio 模拟器上,但没有影响 JavaScript 的执行。

关于java - 由于异常 :java. lang.ClassNotFoundException : com. android.webview.chromium.Drp,没有 DRP key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39736890/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com