Android – I can’t generate a signed apk
•
Android
I want to update my application, but when I try to generate a signed APK, I receive the following error message:
Please help!!
resolvent:
Try multidexenabled true like this:
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
}
packagingOptions {
exclude 'Meta-INF/DEPENDENCIES'
exclude 'Meta-INF/NOTICE'
exclude 'Meta-INF/LICENSE'
exclude 'Meta-INF/license.txt'
exclude 'Meta-INF/notice.txt'
}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码