'W/ResourceType(31706): Unable to get buffer of resource asset file'에 해당되는 글 1건

  1. 2010.04.16 build된 SDK 사용시 W/ResourceType(31706): Unable to get buffer of resource asset file 에러

build된 SDK 사용시 W/ResourceType(31706): Unable to get buffer of resource asset file 에러

CS/Android 2010. 4. 16. 14:01
원문 : Using the Android SDK tools

When building you might run into the Unable to get buffer of resource asset file error. 
The root cause of this is that the new android resource file resources.arsc is larger than the aapt tool allows. 
You can exchange the .arsc file inside android.jar with an older version or patch the aapt tool by editing frameworks/base/include/utils/Asset.h.
Change both lines UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 to something bigger. As the new resources file currently has a size of 2.3Mb you should change the lines (both lines mind you) to at least 3*1024*1024.
: