Reputation: 21
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
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:
drawable-{l|m|h}dpi
folders and
change them allUpvotes: 1
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
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