Failure to Launch, 62 of 100 Days of Code
The good news is I finally have an app on the Google Play Store! The bad news is, it crashes on start.
You can find a video at the bottom of the page and a link to the source code here
After getting my first app on the Play Store, I tried downloading it on my phone. The app installed no problem. But it crashed every time it started.
The strange thing is, I started seeing it on my local machine as well. I started up my Android Virtual Device, installed the app, and I got the same result!
For some reason the AndroidManifest shows the names of the Activities in red. When I hover over them, I see an error saying “Unresolved class ‘MainActivity'”. The same occurs for the other Activities as well. click below
The issue is likely related to some configuration changes I made in Android Studio when I first generated the APK. If anyone has information on this, please drop a comment below.
I’ll continue researching a fix and post updates as I move forward.
You can a find a link to the source code here. For more on this, watch the YouTube video below.
Join the mailing list to see updates like this every week!
Coding Fanatic