某些时候还是要用到的,直接说步骤,修改app.gradle
apply plugin: ‘com.android.application‘ android { .................................................... //配置keystore签名 signingConfigs { release { storeFile file("./cert/android.keystore") storePassword "123456" keyAlias "android" keyPassword "123456" } } buildTypes { debug { debuggable true signingConfig signingConfigs.release } release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.pro‘ signingConfig signingConfigs.release } } }
时间: 2024-10-07 05:10:13