just looking for info more than a solution i think
i bought a course in android app development and am slowly going though it. also doing a introduction course to Java to begin to understand the concepts and structure required to code.
in one of the modules, i am getting the following code error which seems to be crashing the app. The error code seems to be from the emulator part of the build.
logcat is not indicating debug issues and build says ok and not highlighting errors from the app build section.
but then what do I know if you are starting
i have run other apps we have built and they run ok on the emulator so for some reason its just this module download which is crashing it. but i could really begin to understand the coding of this module if I had an app that worked,
thanks
2020-04-18 10:21:53.193 14025-14025/? E/rewery.quizzle: Unknown bits set in runtime_flags: 0x8000
2020-04-18 10:21:54.205 14025-14025/? E/rewery.quizzle: Invalid ID 0x00000000.
2020-04-18 10:21:54.207 14025-14025/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.londonappbrewery.quizzler, PID: 14025
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.londonappbrewery.quizzler/com.londonappbrewery.quizzler.MainActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
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:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Resources.java:367)
at android.widget.TextView.setText(TextView.java:6370)
at com.londonappbrewery.quizzler.MainActivity.onCreate(MainActivity.java:69)
at android.app.Activity.performCreate(Activity.java:7802)
at android.app.Activity.performCreate(Activity.java:7791)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1299)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
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:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
User contributions licensed under CC BY-SA 3.0