简体   繁体   中英

android, how to build the project in order to have R.java?

I cleaned my project but after cleaning it doesn't generate R.java file. It is set to build automatically but new R file doesn't generate. Also, I disabled automatic building and manually tired to build but still don't have R file. Also, I grated same package under gen folder and tried to build R file manually but I was not successful. Why it is like this?!!!

Any suggestion appreciated.

Verify there are no errors in your XML resources. Any error will cause R.java not to compile.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM