Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R.java disappeared

I recently downloaded the Android Support Package and have been using it trying to get my application, running at SDK 10, to use a GridLayout.

Anyway, I cleaned my project a few times working on this error in my XML files, and then when I went back to my classes in /src, every single reference to R.* was an error.

This has happened to me before, but it usually fixes itself, and it has not yet. Does anyone know what to do?

The R.java file is no longer in my /gen folder.

like image 761
JuiCe Avatar asked Jun 21 '12 14:06

JuiCe


1 Answers

It sometimes happens when you import another project First i suggest you to build it, it will create automatically .

If it's not working then try to create new project from existing source and specify the downloaded project . It worked for me

Hope this works for you let me know..

like image 186
MobileEvangelist Avatar answered Oct 04 '22 19:10

MobileEvangelist