android.view.WindowLeaked

tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • FATAL EXCEPTION: AsyncTask #1
    via by maulidan abdillah,
  • error in json parser in eclipse
    via Stack Overflow by user3312672
    ,
    • android.view.WindowLeaked: Activity com.example.androidhive.NewProductActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40541df8 that was originally added here at android.view.ViewRoot.<init>(ViewRoot.java:258) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) at android.view.Window$LocalWindowManager.addView(Window.java:424) at android.app.Dialog.show(Dialog.java:241) at com.example.androidhive.NewProductActivity$CreateNewProduct.onPreExecute(NewProductActivity.java:78) at android.os.AsyncTask.execute(AsyncTask.java:391) at com.example.androidhive.NewProductActivity$1.onClick(NewProductActivity.java:58) at android.view.View.performClick(View.java:2485) at android.view.View$PerformClick.run(View.java:9080) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3683) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    SacchiSacchi
    2 times, last one,
    Hiren AmaliyarHiren Amaliyar
    1 times, last one,
    Indri YunitaIndri Yunita
    8 times, last one,
    winer222winer222
    1 times, last one,
    71 more bugmates