keytool error: java.io.FileNotFoundException: C:\AndroidWorkspace\androidKey\public.jks (The system cannot find the path specified)
android, android-studio, apk, google-play
Solution
Manual modifying the build.gradle(Module:app) file to sign the apk did the work. This is the code I've included in build.gradle.
signingConfigs {
release {
storeFile file("release.keystore")
storePassword "******"
keyAlias "******"
keyPassword "******"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
Problem
I am to trying to create a signed app in Android Studio, but i am stuck at this error which says keytool error: java.io.FileNotFoundException: C:\AndroidWorkspace\androidKey\public.jks (The system cannot find the path specified) I get this error when i am creating a new key store. i am confused, why would it search for this key, when i am trying to create a new one. Android Studio : V1.1.0 JRE: 1.8.0_25-b18 amd64