Uploader Comments (mybringback)
All Comments (35)
-
So program too was crashing after the splash screen, the way that I fixed it was accidental and doesn't make sense, but I thought I would post it anyway just in case it works for others:
I changed the
category android:name="android.intent.c
ategory.LAUNCHER" in the manifest to
category android:name="android.intent.c
ategory.DEFAULT" I ran it, it gave this error:
"no launcher activity found!"
when I undid the DEFAULT change, it worked!!
-
@MrLolztome1 Try it. Logically I was thinking the same thing, but "com.mybringback.thebasicsMEN
U" might not be a intent by default, and startActivity might see it as a string instead, so if that is the case it would not work. However it might see it as a intent and if it does it will work. Try it, I'm just watching before I actually start coding. -
I too, am getting the force close error after the 5 second splash screen. Any idea as to how I am able to fix this?
-
I was having the same issues as some of the people are mentioning here with it crashing after the splash screen. It turned out to be because I copied some of the code from the website which has oddities. For example, the line: ?xml version=”1.0″ encoding=”utf-8″? you can clearly see that the double quote before and after utf-8 are different. For people having issues, I suggest you manually type every line rather than copy paste.
-
Is there any way you could post a picture or something on what your code should look like at the end? because I messed up and I have no idea what I did wrong. :/ and I no errors I fixed them. tho I have a warning sign for the textview and both buttons saying "[I18N] Hardcoded string "butten 2", should use @string resource" and I type'd what you did. I've had these sense I wrote it. and it luanches the app and does the starting up screen then crashes when it should go to the menu :/
-
"Intent cannot be resolved to a type" What should I do?
I've followed the tutorials on both this channel and CornboyzAndroid and I'm having the same problem. I have followed your instructions to the letter and yet the app completely skips the splash screen completely and goes straight to the app (which in my case is a calculator, 'cuz I'm boring)
Is there a way I can send this to you so you can have a look at it for me?
OneViGOR 1 month ago
@OneViGOR what are you talking about? Calculators are sooooo gangsta! I'm guessing that in the manifest you have your Calc Class set to be the ".LAUNCHER" instead of the Splash Class, so just make the Splash Class set to .LAUNCHER and change the Calc Class to .DEFAULT. If you are like, "Travis, you are an idiot, didn't you read that I copied you verbatim?!?!?" you can send the project to travis@mybringback(dot)com.
mybringback 1 month ago
Now I'm getting "splash cannot be resolved or is not a field....."
MaddogD86 1 month ago in playlist Android Development For Absolute Beginners
@MaddogD86 Hey maddog, check your imports, if there is import android.R, delete it. Also save all your files, and clean the project. For more info check my blog post on our website mybringback(dot)com >blog>Travis Android Help
mybringback 1 month ago
"no launcher activity found!
The launcher will only sync the application package on the device!"
Help?? lol
cfsnipa 4 months ago
@cfsnipa most likely you have changed your "laucher" class within the mainifest to .DEFAULT instead of .LAUNCHER you need to have one and only one .LAUNCHER class/actiivity defined in the manifest... hope you know what I'm talking about. If not, feel free to ask for help in the forum at mybringback(dot)com
mybringback 4 months ago