Is it possible to specify the location of a self created debug keystore when creating debug .apk
's (<project-name>-debug.apk
) with ant debug
? I only see the possibility to specify the location of the release keystore.
I would like to share the debug keystore over multiple PC's without copying them over the the one that is placed in the '.android' directory. The debug keystore could for example reside within the source code repository. But I need a way to tell ant where to find the debug keystore.
As far as I've seen so far no existing solution works with the latest ant version.
The only primitive way of doing it is to replace the default debug.keystore its in default folder.
The default location is the .android folder. Usually at C:\Users\USER_NAME.android On windows you can get to it using %USERPROFILE%.android.
What I did is create a powershell script to backup the default file, copy keystore file to the default location, build the signed debug apk, delete my keystore file, restore original file.
Let me know if you need more information here.