question

km-dev avatar image
km-dev asked

R file will not generate

I'm an Android and iOS developer trying to venture into the fire tv world. I set up eclipse with the fire tv sdk and I'm having a problem with all the sample apps where the R file will not generate. I've try cleaning, turning auto build off and forcing it to build, and I've looked at the XML to make sure nothing was poorly formed. The only error I get is that the R file isn't available. Hoping one of you guys could point me in the right direction. Thanks!!!
fire tv
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
In general, to make it work: import project into eclipse (File -> Import -> General -> Existing Projects into Workspace) in Eclipse, Manually create gen folder and add it as source folder (right click on your project, Build Path -> Configure Build Path -> Add folder) Clean your project, you suppose to get R.java generated If it still gives you the same error, please look at the build log that there is any other build time failure reported or not. You can post the relevant log in this thread. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.