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

[Android] java.lang.RuntimeException: Using WebView from more than one process at once with the same data directory is not supported #27

Open
vismutls opened this issue Aug 28, 2019 · 0 comments

Comments

@vismutls
Copy link

After launch app i'm get next error:

java.lang.RuntimeException: Unable to create application [**appid**].MainApplication: java.lang.RuntimeException: Using WebView from more than one process at once with the same data directory is not supported. https://crbug.com/558377
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5954)
    at android.app.ActivityThread.access$1200(ActivityThread.java:200)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:201)
    at android.app.ActivityThread.main(ActivityThread.java:6810)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.RuntimeException: Using WebView from more than one process at once with the same data directory is not supported. https://crbug.com/558377
    at org.chromium.android_webview.AwBrowserProcess.a(PG:40)
    at vo.c(PG:88)
    at vo.b(PG:152)
    at vo.e(PG:169)
    at com.android.webview.chromium.WebViewChromiumFactoryProvider.getStatics(PG:211)
    at android.webkit.WebView.setWebContentsDebuggingEnabled(WebView.java:2124)
    at com.aureactnativeapp.MainApplication.onCreate(MainApplication.java:89)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5949)

What's problem?


React native: 0.59.9
NodeJS: 10.13.0

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

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

1 participant