user955178
user955178

Reputation:

I have an existing android project in which gen folder is missing. How can i run this project?

I I have an existing android project in which gen folder is missing. How can i run this project? Eclipse is give me following error.

Make the resources ID non constant. This is required to make an R java class that does not contain the final value but is used to make reusable compiledlibraries that need to access resources.

Description Resource Path Location Type Error generating final archive: java.io.FileNotFoundException: C:\Users\Bilal\Desktop\Lecture05\bin\resources.ap_ does not exist Lecture05 Unknown Android Packaging Problem

Please Help me. Thanks in advance.

Upvotes: 1

Views: 2390

Answers (1)

MarcFasel
MarcFasel

Reputation: 1158

The Android Ressource Manager is responsible for creating the R.java file in the gen folder. This happens when the project is build, either automatically or via the "clean" command.

Check the Properties of the project to see if the Android Resource Manager is properly included as a Builder for this project. There should be four builders registered in the "Builders" section:

  • Android Resource Manager
  • Android Pre Compiler
  • Java Builder
  • Android Package Builder

Upvotes: 1

Related Questions