Eclipse->IDEA, debugging Android R.java problem

Hi...

So I'm trying to convert a project from Eclipse to IDEA.
The Java modules work, however the Android parts throw on
"compile -> Module ..." the error

"error: unable to open class file /[...]/R.java: no such file or directory"

Same when I run "Force regenerate R.Java" from menu, it does not get
rebuild.

So I tried some suggestions from StackOverflow, but the code should
be fine since it compiles/runs ok in Eclipse.

So it is probably some setup problem?


Question: Can IDEA give me some more debug output what it wants to
run in the background and what is failing?


I was thrown into this, I have only little Android experience... :-/


Thanks!
J

1 comment
Comment actions Permalink

On 08/19/11 22:26, Jonathan Dons wrote:

So it is probably some setup problem?


so I figured out the manual call to aapt to recreate R:

aapt package -m -J gen -M AndroidManifest.xml -S res
-I /[...]/android-10/android.jar

...and no error

Question: Can IDEA give me some more debug output what it wants to
run in the background and what is failing?


So how can I see how IDEA calls aapt?

J.

0

Please sign in to leave a comment.