I moved my Android project to a laptop and now I get this when I hit Debug. Sounds like this is a bug? This shouldn\'t happen via Eclipse as far as I know.
R
ah i think i found your answer:
Why does the app signature change in Android after a classpath change?
its changed if you change the classpath
Go to device/emulator Settings -> Apps, find your app and uninstall it.
Or
In Android Studio open tab "Gradle" (on the right side), open:
appName
..appName
...Tasks
....install
.....uninstallAll
and click twice on this task to execute it.
Important note:
If you still get this error after uninstalling, try to Build->Clean Project.
If you still get this error, even if in your device Settings->Apps list you have no this app already, try to Build->Clean Project
I had the same issue.
To fix it I uninstalled the old .apk of the project from my device.
It happens because keystores on your laptop and original pc are different. it's called debug.keystrore
and located in %USER_HOME%/.android/
folder. TO be more specific it happens because eclipse tries to push apk with reinstall key. So you have two options
After you copy debug.keystore to your PC, you need to rebuild project on PC.
After searching and checking the phone, i came to know that i am currently developing 2nd version of this application which is already downloaded from android market in my phone, now as this app is signed and having different signatures this is throwing the above error.
Now, to resolve this issue, i had just uninstalled the app from mobile and run/install the application again.