Uploader Comments (mybringback)
All Comments (13)
-
Look at the error log tab at the bottom, it probably has some red writing in it that tells you about an error... mine said "the audio file in /raw has an invalid name (a-z, 0-9)" something like that... so i right clicked it, "Refactor", "Rename..." and changed all capital letters to lower case letters, then the error went away and it automatically fixed my "R.layout.main" error. So if you sort out that error in the error log, then it will automatically fix that error too.
-
i delete the import android.R after showing the error on .main..but now it's showing error on R and says cannot be resolve to a variables...plzz help..
-
@MrEoffy Delete the import android.R
-
R cannot be resolved to a variable? i was having issues with "R.layout.main" giving an error so i deleted the import "android.R". now i get an error that says R cannot be resolved to a variable.........any Ideas as to why this may be happening?
-
@mevmevmev, you can export it as zip file. Save it somewhere else and then just reload if oyu mess up
-
great videos. Haven't done java since college. But it's all coming back to me now. :) Keep it up!
-
Is there an easy way to save the entire project as you go so when an error occurs in say tutorial 8, I can reload my tutorial 7 setup?
-
Please upload UI tutorials
And a small game like shooting random objects
Thanks
when i do the setContentView(R.layout.main); at 5:18 the "main" part makes an error
any solutions?
jordorama1 7 months ago
@jordorama1 yea, most likely you have the import"android.R" so just delete that import and you should be good
mybringback 7 months ago