android.view.WindowLeaked: Activity mk.stefan.myphoto.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{608b5ef V.E...... R....... 0,0-1046,358} that was originally added here

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via github.com by Unknown author

Close (finish) a Activity before, to ensure that the subsidiary in the above Dialog or PopupWindow have been closed (dismiss). Is also available at OnCreateDialog (Dialog) to create, let the system to manage the dialog box

Solutions on the web

via Stack Overflow by Esteban
, 1 year ago
Activity mk.stefan.myphoto.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{608b5ef V.E...... R....... 0,0-1046,358} that was originally added here
via GitHub by DVEfremov
, 11 months ago
Activity openscience.crowdsource.video.experiments.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1e7b6232 V.E..... R....... 0,0-1336,1173} that was originally added here
via GitHub by donpwilson
, 1 year ago
Activity com.cloudrail.si.servicecode.commands.awaitCodeRedirect.AuthenticationActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{4244f300 V.E..... R......D 0,0-563,96} that was originally added here
via Stack Overflow by Sandipkumar Savani
, 10 months ago
Activity com.arcil.brio.ui.launch.LaunchActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{2359dcf V.E...... R.....I. 0,0-1026,660} that was originally added here
via Stack Overflow by Devika
, 5 months ago
Activity com.example.admin.dealerdemo.OrderEntry has leaked window com.android.internal.policy.PhoneWindow$DecorView{dba0674 V.E...... R.....I. 0,0-639,188} that was originally added here
via Stack Overflow by Jonas452
, 8 months ago
Activity (DELETED BY ME).AtividadesActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42604ff8 V.E..... R....... 0,0-640,672} that was originally added here
android.view.WindowLeaked: Activity mk.stefan.myphoto.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{608b5ef V.E...... R....... 0,0-1046,358} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:368)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:299)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.Dialog.show(Dialog.java:319)
at mk.stefan.myphoto.MainActivity.showMessageOKCancel(MainActivity.java:157)
at mk.stefan.myphoto.MainActivity.myRequestPermissions(MainActivity.java:104)
at mk.stefan.myphoto.MainActivity.initData(MainActivity.java:66)
at mk.stefan.myphoto.MainActivity.initListeners(MainActivity.java:62)
at mk.stefan.myphoto.MainActivity.initUi(MainActivity.java:55)
at mk.stefan.myphoto.MainActivity.onCreate(MainActivity.java:44)
at android.app.Activity.performCreate(Activity.java:6237)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)

Users with the same issue

3 times, 1 year ago
9 times, 1 year ago
Once, 4 months ago
Once, 11 months ago
Once, 1 year ago
93 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.