Application closing automatically!

I am making an application and I am overlapping the components to make a good ui everything is working fine except the main screen where the components are overlapped and app is automatically closing only one Android 11 why this is happening help me
Here is the apk :-
Try it
base.apk (6.4 MB)

Try using logcat to see what causing the crash

1 Like

App is closing also on android 9

01-06 20:12:01.163 28106 28106 E AndroidRuntime: FATAL EXCEPTION: main
01-06 20:12:01.163 28106 28106 E AndroidRuntime: Process: com.AdityaNanda.iPassSaver, PID: 28106
01-06 20:12:01.163 28106 28106 E AndroidRuntime: java.lang.IllegalArgumentException: [email protected][Screen1] not attached to window manager
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:485)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:394)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:126)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.app.Dialog.dismissDialog(Dialog.java:375)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.app.Dialog.dismiss(Dialog.java:358)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at com.google.appinventor.components.runtime.FingerPrint$1$3.run(SourceFile:170)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6762)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
01-06 20:12:01.163 28106 28106 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
1 Like

Hi Dora I tried to get logs I am unsuccessful in doing so can you tell me about logs of android 9 because there also the problem is same
i am using these extensions
image

problem was due to the close screen block

:sweat_smile:

Thanks @dora_paz

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.