I build the SDK and ADT under linux. And I met this issue too.
On 1月23日, 下午10时08分, moontain <chen.worksp...@gmail.com> wrote: > Does anybody have any clues on how to fix this issue? > > 2009/1/21 moontain <chen.worksp...@gmail.com> > > > Hi, > > > I checked out cupcake branch yesterday and made the full build and sdk > > successfully, and I also built the ADT 0.9 with the command > > cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux > > box. Then I updated the ADT 0.9 and set new SDK on Eclipse. > > Then I created a simple Android project Test with Android Project > > Wizard, the Eclipse created project files except the R.java and then > > reported following errors. > > Seems the resources are not correctly parsed. > > > Errors: > > > [2009-01-21 15:07:32 - Test] W/ResourceType( 267): Unable to get buffer of > > resource asset file > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'orientation' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'layout_width' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'layout_height' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'layout_width' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'layout_height' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'text' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No > > resource identifier found for attribute 'versionCode' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No > > resource identifier found for attribute 'versionName' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No > > resource identifier found for attribute 'icon' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No > > resource identifier found for attribute 'label' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No > > resource identifier found for attribute 'label' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:10: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:11: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:15: ERROR No > > resource identifier found for attribute 'minSdkVersion' in package 'android' > > [2009-01-21 15:07:32 - Test] W/ResourceType( 268): Unable to get buffer of > > resource asset file > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'orientation' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'layout_width' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No > > resource identifier found for attribute 'layout_height' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'layout_width' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'layout_height' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No > > resource identifier found for attribute 'text' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No > > resource identifier found for attribute 'versionCode' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No > > resource identifier found for attribute 'versionName' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No > > resource identifier found for attribute 'icon' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No > > resource identifier found for attribute 'label' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No > > resource identifier found for attribute 'label' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:10: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:11: ERROR No > > resource identifier found for attribute 'name' in package 'android' > > [2009-01-21 15:07:32 - Test] > > /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:15: ERROR No > > resource identifier found for attribute 'minSdkVersion' in package 'android' > > > OS : Mac OS X Tiger v10.4.11 > > XCode v2.5 > > Eclipse v3.4.1 > > > Regards, > > Moontain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---