简体   繁体   中英

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?

You are trying to load the keystore.properties file but the file is missing. Therefore the property values are null, since no property file was loaded. To solve this problem you must create a file named keystore.properties in the projects root directory. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM