Skip to content Skip to sidebar Skip to footer

Android Build Apk Changes Raw Png Files

I had a problem recently with some devices after I upgraded to SDK Tools r16 from SDK Tools r11. I found out it was texture related, now looking back the APK files I created with S

Solution 1:

I don't know why anyone thought this was a good idea but Android does some sort of compression on PNGs. See here for one guy's experience with it. I'm not sure if API 16 does something different from API 11, but this behavior has been there since way before 11. As to how to fix this behavior, I suspect that renaming your resource might help. Try naming it whatever.mp3 instead of .png and see if that fixes it.


Post a Comment for "Android Build Apk Changes Raw Png Files"