Is there a FAST way to export and install an app on my phone, while signing it with my own keystore?

Posted by Alexei Andreev on Stack Overflow See other posts from Stack Overflow or by Alexei Andreev
Published on 2011-01-18T00:05:25Z Indexed on 2011/01/18 0:53 UTC
Read the original article Hit count: 258

Filed under:
|

So, I've downloaded my own application from the market and installed it on my phone. Now, I am trying to install a temporary new version from Eclipse, but here is the message I get:

Re-installation failed due to different application signatures.
You must perform a full uninstall of the application. WARNING: This will remove the application data!
Please execute 'adb uninstall com.applicationName' in a shell.
Launch canceled!

Now, I really really don't want to uninstall the application, because I will lose all my data. One solution I found is to Export my application, creating new .apk, and then install it via HTC Sync (probably a different program based on what phone you have). The problem is this takes a long time to do, since I need to enter the password for the keystore each time and then wait for HTC Sync. It's a pain in the ass!

So the question is: Is there a way to make Eclipse automatically use my keystore to sign the application (quickly and automatically)? Or perhaps to replace debug keystore with my own? Or perhaps just tell it to remember the password, so I don't have to enter it every time...? Or some other way to solve this problem?

© Stack Overflow or respective owner

Related posts about android

Related posts about signing