An extremely simple app, API level 24 (Android 7.0), trying to load a WebView in the only activity, on an actual physical device, gives the following in the log and stops the app:
I/cr_DRP: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
and
W/System.err: java.lang.SecurityException: BIND_EXTERNAL_SERVICE failed, ComponentInfo{com.android.webview/org.chromium.content.app.SandboxedProcessService0} is not an externalService
and
A/chromium: [FATAL:jni_android.cc(233)] Check failed: false. Please include Java exception stack in crash report
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 6989 (Chrome_ProcessL)
What is going on? Some kind of version/dependency problems? How can it be corrected?
XML for WebView:
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
WebView code:
mWebView = findViewById(R.id.webview);
mWebView.loadUrl("https://google.com");
Full project: https://github.com/qabi/webviewtest