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.

  • GitHub comment 134#231932501
    via GitHub by hegazy
    ,
  • [bug] crash on progress dialogs
    via GitHub by asksven
    ,
  • [bug] callstack on refresh
    via GitHub by asksven
    ,
    • android.view.WindowLeaked: Activity com.example.cardboard.video.VideoCardBoardActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{3619b1f V.E...... R....... 0,0-2560,1440} that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:369) 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 com.google.vr.sdk.widgets.common.FullScreenDialog.show(FullScreenDialog.java:79) at com.google.vr.sdk.widgets.common.VrWidgetView.toggleFullScreen(VrWidgetView.java:387) at com.google.vr.sdk.widgets.common.VrWidgetView.access$100(VrWidgetView.java:46) at com.google.vr.sdk.widgets.common.VrWidgetView$4.onClick(VrWidgetView.java:329) at android.view.View.performClick(View.java:5204) at com.example.cardboard.video.VideoCardBoardActivity.fullscreenHack(VideoCardBoardActivity.java:99) at com.example.cardboard.video.VideoCardBoardActivity.onCreate(VideoCardBoardActivity.java:89) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    Users with the same issue

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