android { ... signingConfigs { release { ... } config { keyAlias "gaode" keyPassword "123456" storeFile file("D:\\AndroidStudioProjects\\KeyStore\\GaoDeTest.jks") storePassword "123456" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug{ signingConfig signingConfigs.config } } }