I just tried in Android Studio 1.4 and it seems that the wizard uses paths relative to the project directory.
Example:
- project directory
/home/dev/project
- module name
app
- keystore file
/home/dev/project/app/keystores/debug.keystore
In the wizard following works for me app/keystores/debug.keystore
(notice that path is relative - without leading slash).
Adding following to the build.gradle
in module will use relative path to the debug.keystore as well (notice that the module name is not listed there as we are already inside the app
module)
android {
signingConfigs {
debug {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('keystore/debug.keystore')
storePassword 'android'
}
}
...
}