问题
I have installed my app in my device.Now due to some reasons I have exported my code and debug.keystore to another machine.When I rebuild the app It is saying "Re-installation failed due to different application signatures." Actully I want to update the app without uninstall. How can I do this?
Thanks,Chaitanya
回答1:
You can copy the previous debug.keystore from your old machine and place it in your different machine.
The location of debug.keystore
is typically your .android
directory present inside home directory.
In Windows, "My Documents" is your home directory and in Linux the default directory to which you new shell opens to is your home directory.
回答2:
Yes you only need to change the debug keystore of new machine with the one from old machine because when you run the app from compiler its debuged from the debug.keystore from .android folder and then is installed to device/emulator
来源:https://stackoverflow.com/questions/18266947/update-the-app-in-another-machine-with-same-debug-keystore-in-android