shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

当使用splits的时候,只能打x86的包 #51

Closed atship closed 8 years ago

atship commented 8 years ago

splits的设置如下

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
simpleton commented 8 years ago

暂时还不支持多打多渠道的包 #37

shwenzhang commented 8 years ago

多渠道编包可以采用repackage模式适配