I spent quite a while troubleshooting this, not helped by the fact
that AAPT was just dying silently, but i've narrowed my problem down
to the following.
When an Android application project in Eclipse uses an Android library
project, and that library project declares (e.g. in "attr.xml") an
<attr> element with <enum> child elements, then when the application
project is built, AAPT will silently crash/exit and R.java will not be
generated.
Here is an example attribute in the library project that will cause
the application project to fail:
<attr name="foobar">
<enum name="foo" value="0"/>
<enum name="bar" value="1"/>
</attr>
You may not see the problem creep up until after you clean the
application project. I have posted a bug report.
http://code.google.com/p/android/issues/detail?id=10649
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en