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 installed #49

Closed
Brontes opened this issue Apr 8, 2020 · 2 comments
Closed

No WebView installed #49

Brontes opened this issue Apr 8, 2020 · 2 comments
Labels
question Further information is requested

Comments

@Brontes
Copy link

Brontes commented Apr 8, 2020

I'm trying to test android application that uses WebViews.

But test crashes with following error:
android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:438) Tests on test(AVD) - 8.0.0 failed: Instrumentation run failed due to 'Process crashed.'

I tried to wait 15 minutes to let Android install WebViews by itself. But it didn't help.

Can anything be done about that?

@ychescale9
Copy link
Member

  • Can you share your GitHub Actions workflow or the the configs for the android-emulator-runner step?
  • Does it work on the emulator locally? if yes what system image does the emulator use? E.g. system-images;android-26;google_apis;x86?
  • Does this or this help?

@ychescale9 ychescale9 added the question Further information is requested label Apr 10, 2020
@Brontes
Copy link
Author

Brontes commented Apr 16, 2020

Now my tests are working.

I have changed API level from 26 to 28 and set emulator options to -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim.
So default without -no-window option.

I don't know because of which change tests started working. But they are working now.

Thanks for your time anyway.

@Brontes Brontes closed this as completed Apr 16, 2020
stefan-niedermann added a commit to nextcloud/Android-SingleSignOn that referenced this issue Nov 17, 2021
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Jan 19, 2024
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Jan 19, 2024
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Jan 19, 2024
ReactiveCircus/android-emulator-runner#49 (comment)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Jan 19, 2024
ReactiveCircus/android-emulator-runner#49 (comment)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Jan 19, 2024
ReactiveCircus/android-emulator-runner#49 (comment)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Feb 16, 2024
ReactiveCircus/android-emulator-runner#49 (comment)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
AndyScherzinger pushed a commit to nextcloud/Android-SingleSignOn that referenced this issue Mar 4, 2024
ReactiveCircus/android-emulator-runner#49 (comment)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants