Icon.png: failure while uploading to Google Play Market


After upload of APK to Google Market this is exception that Google returns:


The file is invalid: W/ResourceType( 2338): Failure getting entry for 0x7f0200cb (t=1 e=203) in package 0 (error -75) W/ResourceType( 2338): Failure getting entry for 0x7f0200cb (t=1 e=203) in package 0 (error -75) W/ResourceType( 2338): Failure getting entry for 0x7f0200cb (t=1 e=203) in package 0 (error -75) W/ResourceType( 2338): Failure getting entry for 0x7f0200cb (t=1 e=203) in package 0 (error -75) W/ResourceType( 2338): Failure getting entry for 0x7f0200cb (t=1 e=203) in package 0 (error -75) ERROR getting 'android:icon' attribute: attribute is not a string value


The fix was to put to each res/drawable[..] folder you have a copy of the icon.png

hdpi - 72x72
ldpi - 36x36
mdpi - 48x48
xhdpi- 96x96

How to change AT&T Samsung Galaxy Note Launcher Icons

You probably got frustrated with default application icons in Samsung Galaxy Note and like me at first you thought they cannot be changed:


Here are the steps how to change them:
  • from Home screen, click "Applications" icon on the RIGHT
  • click Menu button
  • select "Edit" (pencil) in the Menu
  • "Reorganize icons" pop-up will show, click "Switch"
  • drag icons in an out to set menu the way you want
  • click Menu button and select "Save" (diskette icon)

Optional steps:
  • from Home screen, click "Applications" icon on the RIGHT
  • click Menu button
  • select "View type"
  • I like "Alphabetical grid" view as any other makes apps hard to find




Using Amazon Kindle for development in Eclipse

When you first connect Amazon Kindle device via USB it does not show in the Eclipse Devices listing.

You can quickly fix it by:

1) Modify adb_usb.ini file by adding 0x1949 to the bottom of vendor IDs

$ pico /Users/uki/.android/adb_usb.ini  (replace "uki" with your user name)

2) verify that you have made the change correctly:


$ more /Users/uki/.android/adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x1949
$

3) Reset ADB from Eclipse (drop-down arrow on the right hand side of  "Devices")



Device should be showing in "Devices" view now.

NOTE: after updating Eclipse Help -> "Check for Updates" you will have to repeat this procedure.