[英]ERROR: path may not be null or empty string. path='null'
android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
android.signingConfigs.release.storePassword props.keyStorePassword
android.signingConfigs.release.keyAlias props.keyAlias
android.signingConfigs.release.keyPassword props.keyAliasPassword
Since I cannot see the keystore.properties
file in your screenshot I assume you haven't created one? 由于在您的屏幕快照中看不到
keystore.properties
文件,因此我假设您尚未创建一个文件?
You are trying to load the keystore.properties
file but the file is missing. 您正在尝试加载
keystore.properties
文件,但该文件丢失。 Therefore the property values are null, since no property file was loaded. 因此,由于未加载任何属性文件,因此属性值为null。 To solve this problem you must create a file named
keystore.properties
in the projects root directory. 要解决此问题,必须在项目根目录中创建一个名为
keystore.properties
的文件。 The content of this file should contain your keystore credentials. 该文件的内容应包含您的密钥库凭据。 This should look as follows:
外观如下:
keyStorePassword=storepw
keyAliasPassword=keypw
keyAlias=keyAlias
keyStore=/path/to/your/keystore-file.keystore
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.