Added: 9 months ago
From: mybringback
Views: 7,924
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (33)

Sign In or Sign Up now to post a comment!
  • Hey guys..just figured out the error...what mistake we all are doing is probably that in startActivity function we all have been passing the wrong parameters ie. com.mybringback.thebasics.Tuto­rials1 wheres it SHOULD BE com.mybringback.thebasics.TUTO­RIAL1

  • @mybringback gettin an error "The application The BaiscSeries has stopped unexpectedly"

    and asks to force close it ...Please help....

  • Iv'e been having the same problem other people have been having, all i did to fix it was exam my code, i found some problems fixed them and it worked. ;) make sure all of your java and xml stuff is capitalized correctly and spelled the same, and check to make sure you dont have any spelling errors

  • Hi guys if anyone is still having trouble with the force close issue, I have managed to get mine to work by commenting out logoMusic.release() in the onPause class as below

    @Override protected void onPause() { // TODO Auto-generated method stub super.onPause();

    // logoMusic.release(); } im not sure what implications this may have in the future but at least I can continue with the other tutorials

    great tutorials Travis

  • Back and forwards, back and forwards, back and forwards. I could do this for days.

  • an error message (forcs close) appears when i run my application

  • My application just crashes after the "splash" screen. It never gets to the buttons. It all worked well before this tutorial.

    Help?

  • I GET THE SAME ERROR, force close, do you know the answer or not?, because you don't answer to nobody what happen there

  • I was also getting force closes. Found out my class (.java) name didn't match what the AndroidManifest.xml has listed under activity android:name=.

  • @edwardsirignano :D i had the same crap :DD so dumb :D

  • @edwardsirignano YES! Thanks for that, maybe i should learn to spell correctly before I learn to program with Java!

  • BTW a little shortcut with Eclipse. When you create a new activity class for Android you can type "Activity" in the Superclass field and hit Ctrl+space. It will give you android.app.Activity (+ some others), select that and it will import Activity and to the extention for you :). Thanks for the great tutorial Travis!

  • on deck... 11...

  • Anyone else get lost around 3.43?

    When I go to ID the button, the list that appears on 3.56 shows - But without the ID ?

  • Comment removed

  • I've studied Java OO for 2 years, and I must say that u are an excellent teacher! Really good! Keep it up!

    /Sweden

  • okay great now that it stopped forclosing it wont even install on my emulater

  • @thenaenaeshow

    just right click on it and run it as a android applicatin dirrectly, also how did you fix it? :3

  • still foreclosing tried to change it to 4 nd tried changing the andriod manifest any other ideas

  • Lines in AndroidManifest.xml <action android:name and startActivity(new Intent must be same. That is the way how I solved my crash

  • Ya me to

  • I keep getting a force close once I hit the button. Any ideas?

  • @brianpotts622 I had the same issue I'm not sure if this will help but I changed the minSDKVersion in the manifest from 8 to 4 and it worked fine.

  • Comment removed

  • i havent looked beyond this video for the answer, dont want to get ahead of my self.

    but on my second page, after whe hit the button, i added another button to go back to the main activity, i set the button up the exact same way kepping in mind the name changes. and it will not do anything when i hit the button. how do i fix this?

  • Comment removed

  • Comment removed

  • every time I try to run the app on the emulator is keeps saying that the app has stopped unexpectedly please try again. what do I do????

    Thanks for all the help!!!

  • Travis. These vids are so helpful, so much more than the books on the market. And now that I've watched your videos the books make much more sense. People like you who share their knowledge like this are heroes. Many thanks and keep it up!

  • I don't get it.. If i open the app on the emulator it closes after i clicked those buttons..

    I watched you're vid for like 2/3 times and did exactly the same thing...

  • @jip46 I had the same problem, ran debug and found that it was the activity name causing an error.

    What I did to fix this was renaming the TutorialOne java to tutorialone java by right-clicking the java go to Refactor > Rename... change it to lower case.

    @mybringback / travis: I started to follow your old tutorial cause that was the one I found useful until I kept getting force closes, now I just started a new project and follow your new tutorial and I must say this one is way better!

  • thank you master :-)

  • Thank you !

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more