Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Webview implementation available (Android 9) #233

Open
codevalley opened this issue Dec 8, 2019 · 4 comments
Open

No Webview implementation available (Android 9) #233

codevalley opened this issue Dec 8, 2019 · 4 comments

Comments

@codevalley
Copy link

codevalley commented Dec 8, 2019

This is my first time adding Open Gapps to my AOSP codebase.
I have made changes to device.mk.
I have tried different combinations in terms of build variants (pico to stock), different exclusion, force rules, but irrespective of what I try I get this error.

WebViewFactory: Chromium WebView package does not exist
WebViewFactory: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed

This basically stalls, the Out of the box setup experience (or pretty much any screen that requires Google account creation/fetching, as it uses a webview).
In the developer options, Webview Implementation is none. It does not show any options either.

I am building my AOSP for Pixel 2(Walleye).

@codevalley
Copy link
Author

Things are working fine on pico variant. But when I use a larger variant like stock (which replaces AOSP webview) things are breaking.

@Jackhmj
Copy link

Jackhmj commented Dec 19, 2019

Hi,
I encountered the same issue as your, but my device is pixel3. The webview is lost when choose stock.

@stefanhh0
Copy link
Contributor

stefanhh0 commented Feb 8, 2020

With the integration of:

The problem should be fixed, please verify and close this if you can confirm.

@codevalley
Copy link
Author

codevalley commented Mar 11, 2020

The above commits did not fix the issue. Still getting missing webview issue on building stock.
This are the logs.
Built for Pixel 2 (walleye) Android 9.0

03-11 07:03:42.874  7022  7022 E WebViewFactory: Chromium WebView package does not exist
03-11 07:03:42.874  7022  7022 E WebViewFactory: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:376)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:439)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:251)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.webkit.CookieManager.getInstance(CookieManager.java:40)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at kar.a(:com.google.android.gms@[email protected] (100400-281397792):1)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at jzi.onCreateView(:com.google.android.gms@[email protected] (100400-281397792):1)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at kch.onCreateView(:com.google.android.gms@[email protected] (100400-281397792):1)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at com.google.android.chimera.FragmentProxy.onCreateView(:com.google.android.gms@[email protected] (100400-281397792):2)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at ge.a(:com.google.android.gms@[email protected] (100400-281397792):7)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.a(:com.google.android.gms@[email protected] (100400-281397792):268)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.h(:com.google.android.gms@[email protected] (100400-281397792):6)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.a(:com.google.android.gms@[email protected] (100400-281397792):26)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.a(:com.google.android.gms@[email protected] (100400-281397792):124)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.a(:com.google.android.gms@[email protected] (100400-281397792):62)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.j(:com.google.android.gms@[email protected] (100400-281397792):11)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.c(:com.google.android.gms@[email protected] (100400-281397792):3)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at hb.m(:com.google.android.gms@[email protected] (100400-281397792):14)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at gg.onStart(:com.google.android.gms@[email protected] (100400-281397792):4)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at duf.superOnStart(Unknown Source:0)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at com.google.android.chimera.Activity.onStart(Unknown Source:2)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at com.google.android.chimera.Activity.publicOnStart(Unknown Source:0)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at qst.onStart(:com.google.android.gms@[email protected] (100400-281397792):2)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1391)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.Activity.performStart(Activity.java:7165)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:2975)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.os.Looper.loop(Looper.java:193)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at android.app.ActivityThread.main(ActivityThread.java:6718)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at java.lang.reflect.Method.invoke(Native Method)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
03-11 07:03:42.874  7022  7022 E WebViewFactory: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
03-11 07:03:42.875  7022  7022 D AndroidRuntime: Shutting down VM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants