Skip to content Skip to sidebar Skip to footer

R.java Can't Be Modified

I was trying to modify the R.java in android. I deleted the generated java files. After saving, it doesn't seem to change anything. The R.java file i have looks like this /* AUTO-G

Solution 1:

R.java is an auto generated file contains all your resources used in project. If you want to change R.java you can't.

You have to add or delete resources, then it will be modified according to your resources present in project.

This is basic thing in Android. You have to read Android Developers documents, then you will get good knowledge about it.

Solution 2:

You cannot modify R.java in android it will be generated automatically when we are developing an xml file.... here id numbers will be stored of different views so we can't modify it..

Post a Comment for "R.java Can't Be Modified"