gpt4 book ai didi

java - 任务 ':app:packageRelease' 执行失败 无法从存储 "C:\Users\": Keystore was tampered with, 读取 key key0 或密码不正确

转载 作者:行者123 更新时间:2023-12-02 11:39:11 25 4
gpt4 key购买 nike

任务执行失败:app:packageRelease

com.android.ide.common.signing.KeytoolException: Failed to read key key0 from store "C:\Users\Karim Bux\Chhotu Ram\Desktop\JKS\hanujks.jks":

Keystore was tampered with, or password was incorrect

我在生成签名的 apk 时遇到了这个问题,所以请大家逐步指导我,我现在应该做什么?

检查我的 build.gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.hanumanbeniwal.www.hanumanbeniwal"
minSdkVersion 14
targetSdkVersion 26
versionCode 2
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support:design:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
compile 'com.google.android.gms:play-services-ads:11.0.4'
testCompile 'junit:junit:4.12'
}

最佳答案

检查您输入的凭据是否正确。我也遇到过同样的问题,我的别名错误,所以检查两次。或者如果应用程序不在 Play 商店中,则生成新的 .JKS。

关于java - 任务 ':app:packageRelease' 执行失败 无法从存储 "C:\Users\": Keystore was tampered with, 读取 key key0 或密码不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48700899/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com