Android Studio에서 출시 모드로 Android 앱에 서명하려고합니다.Android Studio의 릴리스 모드에서 Android 앱을 제작하는 중 오류가 발생했습니다.
이어서 나는 this official guide을 따른다. 그래서 키 스토어와 개인 키를 만들었습니다. 그런 다음 빌드 -> 생성 된 서명 된 API 키에서 서명 된 APK를 생성하려고했습니다. 그러나 다음 오류와 함께 빌드가 실패합니다.
:app:packageRelease FAILED
Error:A problem was found with the configuration of task ':app:packageRelease'.
> File 'C:\Documents\myapp\android.jks' specified for property 'signingConfig.storeFile' does not exist.
또한 build.gradle 구성을 확인했습니다.
은 어떤 문제가buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseConfig
}
}
:
signingConfigs {
releaseConfig {
keyAlias 'xxxxxxxxxx'
keyPassword 'xxxxxxxxx'
storeFile file('C:\Documents\myapp\android.jks')
storePassword 'xxxxxxxxx'
}
}
하지만 같은 Gradle을 파일에
내가 이것을 가지고 : 그리고 나는이를 발견했다?
파일'android.jks'가 C : \ Documents \ myapp \에 존재합니까? 물론 –
, @PetrDuchek – GVillani82