It still doesn't work for me~ :-( It gives me the same error message~ [2009-02-09 10:01:22 - Mms] W/ResourceType( 3244): Unable to get buffer of resource asset file [2009-02-09 10:01:22 - Mms] (skipping index file 'D:\Project \cupcake_20090129.tar\packages\apps\Mms\res\drawable\Thumbs.db') [2009-02-09 10:01:22 - Mms] Adding multiple application package resources; only one is allowed. [2009-02-09 10:01:22 - Mms] Use -x to create extended resources. [2009-02-09 10:01:22 - Mms] D:\Project\cupcake_20090129.tar\packages \apps\Mms\res\layout\add_attachment_list.xml:21: ERROR No resource identifier found for attribute 'layout_width' in package 'android' ........ ........ ........ ........
Do you know any other option to fix this problem? :-( On 1월29일, 오전7시01분, Khuong <kgh...@gmail.com> wrote: > The ADT's PreCompilerBuilder uses aapt to generate the R.java file. > The android.jar includes a compressed resources file called > resources.arsc that appt needs to extract out to a buffer. The first > error indicates that it failed to create this buffer. > > The root cause is that the buffer max size is set to 1 MB. The > resources.arsc file in prior versions was smaller than the max size, > but in cupcake, it's about 1.3 MB. For a quick workaround, you can > increase this buffer size to 2 MB. To do this, look for the Asset.h > file under > > mydroid/frameworks/base/include/utils > > change > > UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 > > to > > UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 > > and rebuild the sdk again. > > On Jan 21, 9:12 am, moontain <chen.worksp...@gmail.com> wrote:> 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 -~----------~----~----~----~------~----~------~--~---