Reputation: 1394
I wrote an android app that works fine, but when copy the project and open from another android studio by the exact sdk & same app Id and try to debug; android studio wants to uninstall the last app i install from first Android Studio. How to prevent uninstalling the existing app and just update that.
Upvotes: 1
Views: 87
Reputation: 1235
That's because all systems have different debug(auto generated) signing keys. if you don't want to unintsall app installed by another system, you have to make sure both are using same debug.keystore
. so just copy paste the debug.keystore
from one system to another and you're good to go.
Its location for mac/Linux is:
~/.android/debug.keystore
and windows is
C:\Users\<Username>\.android\debug.keystore
Upvotes: 4