App crashing or stopped

Uploading: NsiQuiz.apk…
Why my app is crashing before it’s working fine but now suddenly this happend please help me experts

Have you checked?

1 Like

as dora said read the guide by anu and also if possible you can share the logcat if you want

1 Like


I tried still this happening

Use logcat and post result here

1 Like

Which logcat ? Sorry i didn’t understand i gave apk please install and check it

Apk didn’t upload properly. I can not download it to test it

This post was flagged by the community and is temporarily hidden.

https://drive.google.com/file/d/19lOIANhPCo-z4rLfvzM03LO4xE9949bZ/view?usp=drivesdk

Access denied in google drive, you should set sharing to everyone with link

I’m sorry i thought it’s open for everyone now check it i change it

1 Like

You have some fields empty in Quiz Screen

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nsiquiz/io.kodular.itshassan210.NsiQuiz.Quiz}: /tmp/1633252587909_0.926354184025225-0/youngandroidproject/../src/io/kodular/itshassan210/NsiQuiz/Quiz.yail:436:43: unbound location null
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3311)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3460)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:224)
	at android.app.ActivityThread.main(ActivityThread.java:7590)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: /tmp/1633252587909_0.926354184025225-0/youngandroidproject/../src/io/kodular/itshassan210/NsiQuiz/Quiz.yail:436:43: unbound location null
	at gnu.mapping.Location.get(Location.java:67)
	at io.kodular.itshassan210.NsiQuiz.Quiz.lambda101(Quiz.yail:436)
	at io.kodular.itshassan210.NsiQuiz.Quiz$frame.apply0(Quiz.yail:17)
	at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
	at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
	at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
	at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
	at io.kodular.itshassan210.NsiQuiz.Quiz.$define(Quiz.yail:10265)
	at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
	at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
	at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:386)
	at android.app.Activity.performCreate(Activity.java:7893)
	at android.app.Activity.performCreate(Activity.java:7880)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3286)
	... 11 more
2 Likes

How can i fix this?

You need to show your block

By checking

:point_up_2: :point_up_2:

2 Likes