Error generating R.java from manifest with new and empty Project

You must Login before you can answer or comment on any questions.

hi folks,

i just add a new and empty project. generating it for android 2.2 and API 2.2 crashes with

Error generating R.java from manifest

why the hell this? it's just an new clean project. SDK version is 1.6.2

update with 2.1: [ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again

— asked 2 years ago by dev 1605
2 Comments
  • Dev, please state the operating system you are running it on, and the processor and RAM installed to the system. Thank you

    — commented 2 years ago by Paul Dowsett

  • What is your app id? it should be something like com.name.appname

    — commented 2 years ago by Matt Apperson

1 Answer

I had exactly the same issue after creating a new Titanium Mobile project from one of the wizard templates. No clue whatsoever in the build log. Tried commenter Matt's advice - changing the Application Id in the tiapp.xml editor to the "package" form com.mycompany.Appname fixed it straight away.

— answered 1 year ago by Matt Voysey
answer permalink
7 Comments
  • Matt, out of interest, what was the id before, and how did it come to be in the incorrect format?

    — commented 1 year ago by Paul Dowsett

  • The "New Titanium Mobile Project" wizard lets you type anything into the App Id field, which I dumbly did.

    Trying it again now, I notice if you enter a Project name first it displays the hint "Missing App Id (example: com.companyname.appname)", so it does in fact try to help... unfortunately I had entered the app id first, after which the wizard doesn't complain. I guess it could do with some extra field validation.

    — commented 1 year ago by Matt Voysey

  • Thanks for the extra info, Matt. Can you remember the format you used before, though?

    — commented 1 year ago by Paul Dowsett

  • Show 4 more comments

Your Answer

Think you can help? Login to answer this question!