December 14th, 2011, 06:15 PM
|
#2 (permalink)
|
|
New Member
Join Date: Dec 2011
Posts: 1
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
I know this is quite old but I'm posting a solution in case someone comes across this in the future:
This is because the version you're building and the version already on the machine are not signed with the same certificate. A possible workaround (not aware of other ways) is to uninstall then re-install.
To uninstall, you need to use your application's package name not the apk name. For example:
$ adb uninstall com.example.mypackage
Then you can proceed with:
$ ant debug install # or build and install separately, whichever you prefer
|
|
|