gpt4 book ai didi

Android:为什么在 Gradle 中签名配置需要明确的密码?

转载 作者:太空宇宙 更新时间:2023-11-03 12:54:44 27 4
gpt4 key购买 nike

一定是我遗漏了什么。

看起来为了在 Android Studio 中签署发布 APK,您需要在 Gradle 配置文件中硬编码您的签名密码和签名文件的确切位置。

这真的安全吗?

在 Eclipse 中,我总是被要求输入密码,我更喜欢这种方式。

最佳答案

you need to hardcode in the Gradle configuration file your signature password

没有。您需要提供 build.gradle keystore 密码。您可以通过环境变量、单独的属性文件(例如,未作为 repo 的一部分提交的文件)或您选择 Groovy 可以处理的任何其他方式来提供它。

In Eclipse I was always asked to type the password, and I prefered that way.

You can do that too .

关于Android:为什么在 Gradle 中签名配置需要明确的密码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22616757/

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