• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Noobie! Help launching an app, keeps force closing!

I am following these video tutorials on YouTube on how to develop apps for android and i did everything the same as he does but i keep getting force closed, i dont understand why since i have no error codes in my coding.:confused:

I attached 2 pictures with the coding i am using

I was thinking maybe since i am using a more up to date android maybe thats why?
 

Attachments

  • 1400388700984.jpg
    1400388700984.jpg
    46.2 KB · Views: 106
  • 1400388752752.jpg
    1400388752752.jpg
    57 KB · Views: 50
If it keeps force closing then there's a possibility it needs a higher or lower OS maybe your operating on a lower android version or a higher one. the other option would be a bug/error, but it seems that is not the case since you have looked into that.., so obviously its your android version.
 
Thank you so much, I am looking into that now, just out of curiosity, if i am following a video that is programming for 2.2 will the coding still work for the latest versions?
 
Ok so its not the OS the log cat is saying its my Intent, it says:
FATAL EXCEPTION: Thread-60
Process: com.aliah.thebasics, PID: 994 android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.aliah.thebasics.MENU }


Then it keeps mentioning the Activity saying to start activity for results

But i dont know what i am doing wrong i tried writing the activity like this

Intent menuIntent = new Intent ("com.aliah.thebasics.MEN")
Then i tried the same but with (".MENU")

But nothing :confused::confused::confused:
 
Back
Top Bottom