user437035
user437035

Reputation: 21

.apk does not contain current icons - why?

I'm new to Android & Eclipse. I have modified a small app by changing 2 of the icons among other things. When i test the app using emulators all works as expected. But, when i load the .apk file to an actual device, I get the old version of the app (old icons). How can i get the .apk file to use the current icons & code?

Upvotes: 2

Views: 1033

Answers (3)

Diego Torres Milano
Diego Torres Milano

Reputation: 69406

Most probably your device and your emulator are using different pixel densities (dpi), you replaced only one set and that's why old ones are taken. You can:

  • Check resources in drawable-{l|m|h}dpi folders and change them all
  • Use same pixel density for emulator and device

Upvotes: 1

Vaibhav
Vaibhav

Reputation: 7008

Besides the above answer you can also try to do this: right click on your project in eclipse and goto android tools -> fix project properties.

M not very sure but tis might help.

Upvotes: 0

WarrenFaith
WarrenFaith

Reputation: 57702

How did you load the apk to your device? Using the console with adb make sure you have the reinstall option set. Otherwise check if eclipse told you, it has reinstalled the app (check the console in eclipse). Last thing to try: remove the old version on your device and install it again.

Upvotes: 7

Related Questions