android.view.WindowLeaked ?
See original GitHub issueThis lib is generating the following errors in logcat:
12-10 17:41:28.443 27325-27325/com.myapp E/WindowManager: android.view.WindowLeaked: Activity com.myapp.MainActivity has leaked window DecorView@ce4351b[] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:614)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:365)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:100)
at android.app.Dialog.show(Dialog.java:420)
at org.devio.rn.splashscreen.SplashScreen$1.run(SplashScreen.java:36)
at android.app.Activity.runOnUiThread(Activity.java:6281)
at org.devio.rn.splashscreen.SplashScreen.show(SplashScreen.java:27)
at org.devio.rn.splashscreen.SplashScreen.show(SplashScreen.java:49)
at org.devio.rn.splashscreen.SplashScreen.show(SplashScreen.java:56)
at com.myapp.MainActivity.onCreate(MainActivity.java:21)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
However, the splashscreen shows up correctly and everything seems to work fine. Any idea why does this get logged?
My env:
"react": "16.5.0",
"react-native": "0.57.0",
"react-native-splash-screen": "^3.1.1",
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:8
Top Results From Across the Web
android.view.WindowLeaked - Stack Overflow
Window leaked exceptions are usually caused by dialogs which are not dismissed properly. ie if you are planning to dismiss a dialog in ......
Read more >android.view.WindowLeaked: Activity com.sumup.merchant ...
I had to upgrade from 3.2.0 to 3.3.0 and getting this runtime error since then. We use this sdk in a cordova plugin...
Read more >Activity has leaked window that was originally added - Wikitechy
This error occurs when we're trying to show a Dialog after you've exited an Activity. Solution 2: This error can be a little...
Read more >[해결완료]WindowManager: android.view.WindowLeaked
WindowManager: android.view.WindowLeaked: Activity com.app.test.MainActivity has leaked window DecorView@f47fdc0[MainActivity] that was originally added ...
Read more >Activity has leaked window - Mobikul
Error: E/WindowManager: android.view.WindowLeaked: Activity com.example.android has leaked window. com.android.internal.policy.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This error crashes my app when built for release, I have no issues when debugging. Does anyone have any clues? I really need this fixed ASAP.
same here.