I am hitting this app crashing report.
Anybody help me to find reason of this app crashing bug.
Report is here…
android.view.WindowManager$BadTokenException: Unable to add window – token android.os.BinderProxy@51936c2 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:589)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:86)
at android.app.Dialog.show(Dialog.java:319)
at com.google.appinventor.components.runtime.util.KodularContentProtection.showWarningDialog(SourceFile:158)
at com.google.appinventor.components.runtime.util.KodularContentProtection.setInterfaceHelper(SourceFile:123)
at com.google.appinventor.components.runtime.util.KodularContentProtection.access$400(SourceFile:38)
at com.google.appinventor.components.runtime.util.KodularContentProtection$a.onPostExecute(SourceFile:1114)
at android.os.AsyncTask.finish(AsyncTask.java:651)
at android.os.AsyncTask.access$500(AsyncTask.java:180)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5603)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:774)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)