android.view.WindowLeaked: Activity com.tns.NativeScriptActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1a0426a2 G.E..... R.....I. 0,0-684,0} that was originally added here

GitHub | ryc16 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem on suspend and resume app.

    GitHub | 6 months ago | ryc16
    android.view.WindowLeaked: Activity com.tns.NativeScriptActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1a0426a2 G.E..... R.....I. 0,0-684,0} that was originally added here
  2. 0

    GitHub comment 2756#248529065

    GitHub | 6 months ago | ryc16
    android.view.WindowLeaked: Activity com.tns.NativeScriptActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{ae9b1240 G.E..... R.....ID 0,0-693,168} that was originally added here
  3. 0

    GitHub comment 2756#249790405

    GitHub | 6 months ago | ryc16
    android.view.WindowLeaked: Activity com.tns.NativeScriptActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{3bba980a G.E..... R.....ID 0,0-1026,290} that was originally added here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android fails when trying to GET http request

    Stack Overflow | 2 years ago | alexca
    android.view.WindowLeaked: Activity com.example.user.project.itemActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{19feb64d V.E..... R......D 0,0-1026,348} that was originally added here
  6. 0

    Android crash in AsyncTask

    Stack Overflow | 2 years ago | alexca
    android.view.WindowLeaked: Activity com.example.user.project.itemActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{19feb64d V.E..... R......D 0,0-1026,348} that was originally added here
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowLeaked

    Activity com.tns.NativeScriptActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1a0426a2 G.E..... R.....I. 0,0-684,0} that was originally added here

    at android.view.ViewRootImpl.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java:363)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:271)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
    4. android.app.Dialog.show(Dialog.java:298)
    4 frames
  3. com.tns
    Runtime.callJSMethod
    1. com.tns.Runtime.callJSMethodNative(Native Method)
    2. com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:865)
    3. com.tns.Runtime.callJSMethodImpl(Runtime.java:730)
    4. com.tns.Runtime.callJSMethod(Runtime.java:716)
    5. com.tns.Runtime.callJSMethod(Runtime.java:697)
    6. com.tns.Runtime.callJSMethod(Runtime.java:687)
    6 frames
  4. com.tns.gen
    Application_ActivityLifecycleCallbacks.onActivityResumed
    1. com.tns.gen.android.app.Application_ActivityLifecycleCallbacks.onActivityResumed(android.app.Application$ActivityLifecycleCallbacks.java)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Application.dispatchActivityResumed(Application.java:208)
    2. android.app.Activity.onResume(Activity.java:1220)
    3. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257)
    4. android.app.Activity.performResume(Activity.java:6076)
    5. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975)
    6. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017)
    7. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
    8. android.app.ActivityThread.access$800(ActivityThread.java:151)
    9. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    10. android.os.Handler.dispatchMessage(Handler.java:102)
    11. android.os.Looper.loop(Looper.java:135)
    12. android.app.ActivityThread.main(ActivityThread.java:5254)
    12 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames