splits {
abi {
enable true
reset()
include 'armeabi', 'x86'
universalApk false
}
}
打包结果如下
resources mapping file /Users/song/Documents/works/NewsReader/app/build/outputs/apk/AndResProguard/resource_mapping_app-x86-release-unsigned.txt done
writing new resources.arsc
resources.arsc Character Encoding: utf-8
general unsigned apk: app-x86-release-unsigned_unsigned.apk
DestResDir 374 rawResDir 374
signing apk: app-x86-release-unsigned_signed.apk
use 7zip to repackage: app-x86-release-unsigned_signed_7zip.apk, will cost much more time
general the raw 7zip file
rewrite the stored file into the 7zip, file count:0
zipaligning apk: app-x86-release-unsigned_signed.apk
zipaligning apk: app-x86-release-unsigned_signed_7zip.apk
resources proguard done, you can go to file to find the output /Users/song/Documents/works/NewsReader/app/build/outputs/apk/AndResProguard
BUILD SUCCESSFUL
splits的设置如下
打包结果如下