key2debug is a small script used to transform any android keystore to debug one. Which can be imported as custom debug key in Eclipse.
This is very usefull if you want to test your application agains keystore-dependent services during application development. This way developers can be 100% sure that things like Google Maps and similar will work.
The script will not overwrite the exiting keystore, it will create new one, with .debug suffix.
- Any linux distribution.
- Installed and available keytool (commes with android SDK)
- You must also know
- Passphrase of the key
- Alias and its password
- Download the script to your /usr/bin folder
- Type
chmod +x /usr/bin/key2debug
- Type
key2debug <path_to_the_keystore>
- When promprted, supply with passphrase, alias and its password
- Download the script to your system
- Type
chmod +x /path/to/key2debug
- Type
/path/to/key2debug <path_to_the_keystore>
- When promprted, supply with passphrase, alias and its password
- Open eclipse
- From the menu select Windows -> Prefenrences
- From the left menu select Android -> Build
- To the right of the Custom debug keystore input field click on the__Browse__ button
- Find the generated file and click OK
- You are done, just close the window
To remove custom debug keystore, simply select and delete the Custom debug keystore input field
Script has been written by the Intellex team.