Aleksejs Popovs Aleksejs Popovs - 1 year ago 86
Android Question

Developing for Android in Eclipse: not regenerating

I've found out that my is never updated, so it doesn't contain information about my new resources, so I decided to delete it and thought that Eclipse would generate a new one. But that didn't happen, and I don't have now. How can I regenerate one?

I'm using Windows 7.

From one of the comments: "Doing Project -> Clean is what caused the problem for me. Cleaning deletes for whatever reason the plugin is not regenerating the file."

Answer Source

This site suggests:

if you run a clean on the project it should regenerate all the generated Java files, namely R.


In Eclipse, under the Project menu, is an option build automatically. That would help you build the file everytime modifications are made. The Clean... option is also there under Project.

This site suggests another solution.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download