I'm trying to create a new android app project but google updated adt's and in revision 20 new screen corresponds. When i create a new project R.java file is not generated, i tried millions time but result is same. I did not change any line of code, it does not come by default. Help me guys. Thanks.
4
-
is it showing an any error in consoleVishwanath.M– Vishwanath.M2012-07-17 07:01:11 +00:00Commented Jul 17, 2012 at 7:01
-
Please provide some information about your setup.Jan Gerlinger– Jan Gerlinger2012-07-17 07:01:33 +00:00Commented Jul 17, 2012 at 7:01
-
Usually it means that there are some problems in your resources files (layouts). After you correct these errors R class should be generatedYury– Yury2012-07-17 07:01:57 +00:00Commented Jul 17, 2012 at 7:01
-
can you post your logcat, so we can solve your problemRahul Baradia– Rahul Baradia2012-07-17 07:17:46 +00:00Commented Jul 17, 2012 at 7:17
Add a comment
|
3 Answers
Check for any errors in your xml files and res folder. Then go to Project>Clean and clean ur project.
Then ur R.java will be generated
2 Comments
Anders Metnik
except if he has unclicked "Build Automatically". Then he needs to click that again.
mst7
I tried these steps.But there is no change. I saw these site : muharremtac.com/metin/…, i updated eclipse and then i can not create a successful project. I do not change any line, it creates default but when a new project created it comes with errors - 'R can not be resolved to a variable'
- Make sure all your xml files are error free
- Clean
- Build
// don't forget this one
1 Comment
mst7
I tried but it's same. I made a mistake while setting it up i guess. I will try to set up again. Thanks for your helps guys.