Hi, new in here, at first exepriences.
I built a small APP which works fine on companion but when installed on my Realme8 crashes at launch!!
I’ll attach the APK, could you help me ? (not able to usa LOGCAT yet ;-)).
Many thx
Edoardo
FIMD1 (6).apk (6.0 MB)
PS: it is not completed yet).
This is your logcat, you can see unbound location null that means something is left empty in designer view. Check that long list in Avoid Crashes of the Application for some of the components and make sure that About Screen Title is not empty
09-22 17:28:06.528 1898 2921 E ActivityTrigger: activityStartTrigger: not whiteListedio.kodular.meaxde.FIMD1/io.kodular.meaxde.FIMD1.Screen1/1
09-22 17:28:06.529 1898 2921 E ActivityTrigger: activityResumeTrigger: not whiteListedio.kodular.meaxde.FIMD1/io.kodular.meaxde.FIMD1.Screen1/1
09-22 17:28:06.534 1898 3944 E ActivityTrigger: activityResumeTrigger: not whiteListedio.kodular.meaxde.FIMD1/io.kodular.meaxde.FIMD1.Screen1/1
09-22 17:28:06.661 6046 6046 E ar.meaxde.FIMD: Not starting debugger since process cannot load the jdwp agent.
09-22 17:28:07.303 6046 6046 E AndroidRuntime: FATAL EXCEPTION: main
09-22 17:28:07.303 6046 6046 E AndroidRuntime: Process: io.kodular.meaxde.FIMD1, PID: 6046
09-22 17:28:07.303 6046 6046 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{io.kodular.meaxde.FIMD1/io.kodular.meaxde.FIMD1.Screen1}: /tmp/1632316578815_0.24009697561529253-0/youngandroidproject/../src/io/kodular/meaxde/FIMD1/Screen1.yail:12:55: unbound location null
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2925)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3060)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6762)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: Caused by: /tmp/1632316578815_0.24009697561529253-0/youngandroidproject/../src/io/kodular/meaxde/FIMD1/Screen1.yail:12:55: unbound location null
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at gnu.mapping.Location.get(Location.java:67)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at io.kodular.meaxde.FIMD1.Screen1.lambda6(Screen1.yail:12)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at io.kodular.meaxde.FIMD1.Screen1$frame.apply0(Screen1.yail:8)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at kawa.lang.Promise.force(Promise.java:27)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at kawa.lang.Promise.force(Promise.java:37)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at kawa.lib.misc.force(misc.scm:98)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at io.kodular.meaxde.FIMD1.Screen1.$define(Screen1.yail:10309)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:377)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7136)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7127)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2905)
09-22 17:28:07.303 6046 6046 E AndroidRuntime: ... 11 more
Thx Dora, … a lot!
I see, lot of “mistakes” ;-). I’ll try to fix them … and learn!! Thx to both of u.
Edoardo
I’m also getting same issue. Please refer this thread
Actually the mistake is not from you but Kodular it self after the latest update…
This topic will only help you to get your app up and running until Kodular fix this error
SOLVED !!! It was easy in my simple APK: all properties which required a text (like About Screen, About Screen Title, etc…) I added a spacebar “space”. Compiled and downloaded new APK , installed and … works fine. THX to all. Hope they will fix it in next update.
Edoardo