Ok, I am posting my apk
Sketchy.apk (6.7 MB)
But it is closing in my phone
Mine also.
Have you tried that i said here
Wait i send recording
I did what you said but it is still not working
But there are some things on Screen2 and it is not blank
That video is from android 7
I don’t know what happened to my English today i am sorry
Ok This means error is still there
Just checked the logs of the apk. Looks like the error is not in Screen1. As I can see in the logs, Screen2 is opened
In this image you can also see that a Card View
log is present it means card view is created on screen2.
But the problem is here
java.lang.RuntimeException: Unable to start activity ComponentInfo{io.kodular.anwitamed.Sketchy/io.kodular.anwitamed.Sketchy.Screen2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setCancelable(boolean)' on a null object reference
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3550)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3710)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2139)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.os.Looper.loop(Looper.java:236)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8047)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
06-27 18:25:53.997 12785 12785 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setCancelable(boolean)' on a null object reference
06-27 18:25:53.997 12785 12785 E AndroidRuntime: at com.varsha.CustomDialog.CustomDialog.DialogCancelable(Unknown Source:6)
Looks like you have done something wrong in Screen2 with a dialog extension by @varsha .
May you post your screen2 blocks ?
how did you that ?
… and / or here:
@Anwita_Divya As said by @iamwsumit there must be problem on screen 2 that’s why the app is closing as you can see my video [Post 26] the screen 1 works perfectly but as i was on emulator so that app didn’t closed and result nothing was loaded on screen 2 and also thanks @iamwsumit and @bodymindpower to provide two different or similar guides this helped me a lot as i am still a learner and want to learn more and more about softwares
How much time you set in designer page for clock? Set it as 2000 and try