Share debug.keystore

2019-02-18 06:42发布

问题:

Is there any way to share the keystore in a android development team? The goal is to avoid unnecessary uninstall->install cycles. We tried sharing the debug.keystore from .android but it seems that that alone is not working - still getting

Re-installation failed due to different application signatures.

You must perform a full uninstall of the application. WARNING: This will remove the application data!

回答1:

You can copy a debug key from one of your team and provide it to all of the team members.

The debug keystore should be located at ~/.android/debug.keystore.

A better solution IMO is to use maven and a release-keystore that gets distributed between the developers. You can check the Immopoly pom file for seeing a working example config.