2017-10-10 8 views
1

AOSP Android 6.0 (Marshmallow)을 기반으로하는 장치에서 작업 중입니다.
최신 JavaScript를 사용하기 위해 표준 Android webview를 최신 버전으로 업데이트하고 싶습니다.
이 경우 나는 external/chromium-webview/prebuilt/arm64/webview.apk을 최신 버전으로 바꿨습니다.
에서 config_webViewPackageName의 값을 com.android.webview에서 com.google.android.webview으로 변경했습니다. 하지만 내가 같은 오류가있어 (예를 들어 표준 안드로이드 브라우저) 웹보기를 사용하여 일부 응용 프로그램을 시작하려고 할 때 :AOSP Android 6.0에서 WebView 업데이트

10-10 12:08:08.923 17802 17802 I WebViewFactory: Loading com.google.android.webview version 61.0.3163.98 (code 316309850) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: error loading provider 
10-10 12:08:52.107 20530 20530 E WebViewFactory: java.lang.ClassNotFoundException: com.android.webview.chromium.WebViewChromiumFactoryProvider 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at java.lang.Class.classForName(Native Method) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at java.lang.Class.forName(Class.java:324) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.webkit.WebViewFactory.getChromiumProviderClass(WebViewFactory.java:229) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:193) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:158) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.webkit.CookieManager.getInstance(CookieManager.java:39) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.browser.BrowserSettings.syncSharedSettings(BrowserSettings.java:312) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.browser.BrowserSettings.setController(BrowserSettings.java:148) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.browser.Controller.<init>(Controller.java:235) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.browser.BrowserActivity.createController(BrowserActivity.java:84) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:73) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.Activity.performCreate(Activity.java:6251) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.ActivityThread.-wrap11(ActivityThread.java) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.os.Handler.dispatchMessage(Handler.java:102) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.os.Looper.loop(Looper.java:148) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at android.app.ActivityThread.main(ActivityThread.java:5417) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at java.lang.reflect.Method.invoke(Native Method) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:742) 
10-10 12:08:52.107 20530 20530 E WebViewFactory: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:632) 

누군가가 이러한 문제에 직면 했을?

답변

0

마지막으로 webmusic.apk가 시스템 서명으로 서명되지 않았기 때문에 문제가 발견되었습니다. 그것이 제대로 설치되지 않은 이유입니다.
How to sign Android app with system signature? 질문의 단계에서 문제가 해결되었습니다.