Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

Failure to Launch, 62 of 100 Days of Code

  • April 20, 2020April 20, 2020
  • by Richard Clarke

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

Related

ET1 – Ultimatums Mean They Don’t Care About You
We Have Liftoff! 63 of 100 Days of Code
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.
100daysofcode Android Android Studio AndroidDev Java software development

Related articles

Your New Favorite Stopwatch App!…
Two for Two BABY! 7…
…But the App is for…
Play Store Blues – 5…
Top 4 Tips for Android…
No Dice – 3 of…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress