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.

  • GitHub comment 1#241363618
    via GitHub by akki10
  • GitHub comment 1#226866971
    via GitHub by eSigTech
    • android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window$DecorView{a00872a V.E...... R......D 0,0-1002,348} that was originally added here at android.view.ViewRootImpl.<init>( at android.view.WindowManagerGlobal.addView( at android.view.WindowManagerImpl.addView( at at com.wordpress.priyankvex.easyocrscannerdemo.MainActivity.onOcrScanStarted( at com.wordpress.priyankvex.easyocrscannerdemo.ImageProcessingThread.onPreExecute( at android.os.AsyncTask.executeOnExecutor( at android.os.AsyncTask.execute( at com.wordpress.priyankvex.easyocrscannerdemo.EasyOcrScanner.onImageTaken( at com.wordpress.priyankvex.easyocrscannerdemo.MainActivity.onActivityResult( at at at at$1600( at$H.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at

    Users with the same issue

    1 times, last one,
    2 times, last one,
    Hiren AmaliyarHiren Amaliyar
    1 times, last one,
    Indri YunitaIndri Yunita
    8 times, last one,
    1 times, last one,
    89 more bugmates