Windows 7
R.java cannot be updated. When I added a new resource file, it didn't update at all, so I thought Eclipse would create it again when I deleted R.java, so I deleted the R.java file. But the R.java file doesn't come back. How do I restore it?
eclipse android r.java-file
Try running Project->Clean in the menu at the top. The R.java file will be recreated. Then select Build Automatically from the Project Menu. This will automatically update each time a resource is added.
© 2024 OneMinuteCode. All rights reserved.