AndResGuard icon indicating copy to clipboard operation
AndResGuard copied to clipboard

proguard resource for Android by wechat team

Results 118 AndResGuard issues
Sort by recently updated
recently updated
newest added

最近增加了些白名单文件之后进行版本升级,发现bugly上报了一些FileNotFoundException。 现象: 1. 主要集中在 红米、小米和Vivo的手机上 2. 95%以上的上报都是Android 9.0系统 3. 能够遇到崩溃的用户只会遇到一次 Crash比例大概万分之一左右,不知道会不会和厂家ROM主题之类有关。 ``` Caused by: -- 5 java.io.FileNotFoundException:r/k/sq.xml 6 android.content.res.AssetManager.nativeOpenXmlAsset(Native Method) 7 android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:960) 8 android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1206) 9 android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:834) 10 android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:634) 11 android.content.res.MiuiResourcesImpl.loadDrawable(MiuiResourcesImpl.java:329)...

Is gradle option 'shrinkResources' do the same thing as AndResGuard buildTypes { release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } }

混淆完之后,在反编译这个apk,还是会变成res/drawable/xxx这种的,能不能保持住r/d/a这样?哪位大神能指点一二?

插件化项目做资源共享,给插件工程设置了特定的packageId之后,资源混淆失败。 appt配置: android { aaptOptions { additionalParameters '--allow-reserved-package-id','--package-id','0x79' } } 错误堆栈信息: com.tencent.mm.androlib.AndrolibException: Could not decode arsc file at com.tencent.mm.androlib.res.decoder.ARSCDecoder.write(ARSCDecoder.java:130) at com.tencent.mm.androlib.ApkDecoder.decode(ApkDecoder.java:197) at com.tencent.mm.resourceproguard.Main.decodeResource(Main.java:114) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:98) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:84) at com.tencent.mm.resourceproguard.cli.CliMain.run(CliMain.java:243) at...

bug

Android Studio 4.2和默认使用的Gradle 6.7.1打包安装后闪退。

gradle-6.7.1-bin classpath "com.android.tools.build:gradle:4.2.1" 这个Debug包 ------------------------------------------------------- 这个是Release包 并且release包打不开。。。两个配置是一样的啊,这是为什么 都是 keepRoot = false 修改了fixedResName = ”gra“ 这个可以生效

![image](https://user-images.githubusercontent.com/16084640/123221302-64eefe80-d501-11eb-8651-b20061efee2b.png) Jfrog 资源页面是404

目前AndResGuard一直没有人维护,然后也没有迁移到maven,JCenter马上也不能用了,AndResGuard也不能支持gradle 7.0. 综上,想换一个类似功能的库,大家有没有推荐的?