• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

找不到用于签名config'debug'的密钥库文件D \ Telegram-master \ TMessagesProj \ config \ release.keystore

用户头像
it1352
帮助1

问题说明

我下载了电报的新版本.运行它时,此错误显示:

I downloaded new version of Telegram. When run it,This error has shown:

Keystore file D\Telegram-master\TMessagesProj\config\release.keystore not found for signing config 'debug'.

如何解决?

正确答案

#1

检出build.gradle文件的signingConfig部分:

signingConfigs {
    debug {
        storeFile file("config/release.keystore")
        storePassword RELEASE_STORE_PASSWORD
        keyAlias RELEASE_KEY_ALIAS
        keyPassword RELEASE_KEY_PASSWORD
    }

    release {
        storeFile file("config/release.keystore")
        storePassword RELEASE_STORE_PASSWORD
        keyAlias RELEASE_KEY_ALIAS
        keyPassword RELEASE_KEY_PASSWORD
    }
}

RELEASE_STORE_PASSWORD,RELEASE_KEY_ALIAS和RELEASE_KEY_PASSWORD位于grade.properties文件中:

RELEASE_STORE_PASSWORD, RELEASE_KEY_ALIAS and RELEASE_KEY_PASSWORD are located in grade.properties file:

RELEASE_KEY_PASSWORD=password
RELEASE_KEY_ALIAS=alias
RELEASE_STORE_PASSWORD=password
android.useDeprecatedNdk=true

现在,您必须创建一个密钥库文件(一种方法是转到 Build-> Generate Signed APK ... ,然后在第一步中创建梯形失真),将其命名为release.keystore并将其放置在

Now, you must create a keystore file (one way is to go Build -> Generate Signed APK... and then creating the keystone at the first step), name it release.keystore and place it at D\Telegram-master\TMessagesProj\config\. Note the key password, alias and store password that you used. Put them in the appropriate place in grade.properties file.

运行/构建.该错误必须消失.

Run/Build. The error must be gone.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcegkai
系列文章
更多 icon
同类精品
更多 icon
继续加载