Open itgoyo opened 6 years ago
signingConfigs { release { keyAlias 'itgoyo' keyPassword 'mm' storeFile file('C:\\Users\\itgoyo\\Desktop\\itgoyo.keystore') storePassword 'mm' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { // jniDebuggable true signingConfig signingConfigs.release } }
要注意的是:signingConfigs要在buildTypes的签名,否则会出现错误Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.
signingConfigs
buildTypes
Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.
要注意的是:
signingConfigs
要在buildTypes
的签名,否则会出现错误Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.