Hello,
I made a new android project with Eclipse and while I was trying to
use AAPT on that project, I got the following errors.

res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'orientation' in package 'android'
res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'layout_width' in package 'android'
res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'layout_height' in package 'android'
res/layout/main.xml:7: ERROR No resource identifier found for
attribute 'layout_width' in package 'android'
res/layout/main.xml:7: ERROR No resource identifier found for
attribute 'layout_height' in package 'android'
res/layout/main.xml:7: ERROR No resource identifier found for
attribute 'text' in package 'android'
res/layout/main.xml:7: ERROR Error: Resource is not public. (at 'text'
with value '@string/hello').
AndroidManifest.xml:2: ERROR No resource identifier found for
attribute 'versionCode' in package 'android'
AndroidManifest.xml:2: ERROR No resource identifier found for
attribute 'versionName' in package 'android'
...

I found some similar article in this community, but there was no
answer.

My working environment is Ubuntu 8.04 with Android SDK 1.5.
The version of aapt is 0.2, and the command line method I used when I
got those errors is:
   aapt p -M AndroidManifest.xml -S res -F Test.apk

Did I do something wrong? or I miss some argument?
Please help to how I can fix this problem. =(

Thank you!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to