Monday, August 30, 2010

[android-developers] Command line build error: 'Unable to get buffer of resource asset file'

I'm updating Masa (Maven plugins for Android) to support the latest Android SDK. I did run into the problem with aapt tool:

W/ResourceType(47600): Unable to get buffer of resource asset file

From googling, I found the cause of this was that the aapt tool is compiled with too small of a buffer for the resource file in the android.jar. I have no idea how Google gets this to work in Eclipse but command line builds won't work. The solution is to recompile the aapt with increased buffers. Does anyone know of any distributions out there where people have rebuilt the aapt with increased buffer sizes for various platforms?

Thanks,

--
Shane Isbell (Founder of ZappMarket)
http://apps.facebook.com/zappmarket/

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment