Activity mode doesn't work from an Android build tree
GoogleCodeExporter opened this issue · comments
Running --mode activity from an Android build tree fails with this obscure
error:
/tmp/vogar/133bf8ec-cdbe-421a-b2d3-26182cc96d11/libcore.java.lang.SystemTest/classes/AndroidManifest.xml:4: error: No resource identifier found for attribute 'name' in package 'android'
/tmp/vogar/133bf8ec-cdbe-421a-b2d3-26182cc96d11/libcore.java.lang.SystemTest/classes/AndroidManifest.xml:6: error: No resource identifier found for attribute 'name' in package 'android'
/tmp/vogar/133bf8ec-cdbe-421a-b2d3-26182cc96d11/libcore.java.lang.SystemTest/classes/AndroidManifest.xml:8: error: No resource identifier found for attribute 'name' in package 'android'
/tmp/vogar/133bf8ec-cdbe-421a-b2d3-
The problem is that set of classes we're building with doesn't contain the
definitions aapt needs. Those are available in the SDK's Android jar however.
If you see these errors with vogar, try building with an Android SDK rather
than from the Android build tree.
Original issue reported on code.google.com by jessewil...@google.com
on 15 Oct 2010 at 6:48