![](/img/trans.png)
[英]Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view
[英]Generate Signed APK: Errors while building APK. You can find the errors
當我嘗試生成 singend apk 時,它的 show apk singend 失敗
bulid.gradle 文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.fma.airhorn"
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
依賴項 { implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
///////////////////////////////////////// /////////////////////////////////////////消息失敗
FAILURE:構建失敗並出現異常。
出了什么問題:任務“:app:validateSigningRelease”執行失敗。
未找到用於簽名配置“externalOverride”的密鑰庫文件“E:\Android\jre\jre\bin\air horn relase”。
嘗試:使用 --stacktrace 選項運行以獲取堆棧跟蹤。 使用 --info 或 --debug 選項運行以獲得更多日志 output。 運行 --scan 以獲得完整的見解。
在https://help.gradle.org獲得更多幫助
42 秒內構建失敗
您可能放錯了keystore.jks
文件的路徑。
檢查您的keystore
路徑。 找到第一次生成keystore
路徑的位置。 檢查 C:\Users.android
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.