AabResGuard
AabResGuard copied to clipboard
The tool of obfuscated aab resources.(Android app bundle资源混淆工具)
AabResGuard 0.1.8 在AGP 7.2.0上运行报错是什么问题啊? 是AabResGuardTask的aabResGuard字段要加入annotation吗? Some problems were found with the configuration of task ':app:aabresguardGooglePlayFirebaseRelease' (type 'AabResGuardTask'). - In plugin 'com.bytedance.android.aabResGuard' type 'com.bytedance.android.plugin.tasks.AabResGuardTask' property 'aabResGuard' is missing an input or...
失败堆栈如下: ``` Caused by: java.lang.NullPointerException at com.bytedance.android.plugin.internal.SigningConfigResolutionKt.getSigningConfigByAppVariant(SigningConfigResolution.kt:37) at com.bytedance.android.plugin.internal.SigningConfigResolutionKt.getSigningConfigForAGP4(SigningConfigResolution.kt:33) at com.bytedance.android.plugin.internal.SigningConfigResolutionKt.getSigningConfig(SigningConfigResolution.kt:23) at com.bytedance.android.plugin.tasks.AabResGuardTask.execute(AabResGuardTask.kt:48) ``` 从 `SigningConfig` 这个定义看,`storeFile` 等字段都是可以为null,是不是可以理解为设计上允许不设置 signingConfigs 的,但是 `SigningConfigResolution#getSigningConfigByAppVariant `中的 `variant.signingConfig` 是可能会为 null 的, gradle api 可能为null的部分代码如下 ```...
**Describe the bug** 黑名单可以支持吗,有些SDK路径混淆冲突,但是不能保证添加白名单后,后续某个版本没有新的冲突路径; 以下库在使用AabResGuard后功能异常,具体异常不一; //Pangle implementation "com.pangle.global:ads-sdk:4.9.0.7" implementation "com.google.android.gms:play-services-ads-identifier:18.0.1" //Mintegral implementation "com.mbridge.msdk.oversea:reward:16.3.21" implementation "com.mbridge.msdk.oversea:newinterstitial:16.3.21" implementation "com.mbridge.msdk.oversea:mbnative:16.3.21" implementation "com.mbridge.msdk.oversea:mbnativeadvanced:16.3.21" implementation "com.mbridge.msdk.oversea:mbsplash:16.3.21" implementation "com.mbridge.msdk.oversea:mbbanner:16.3.21" implementation "com.mbridge.msdk.oversea:mbbid:16.3.21" implementation "androidx.recyclerview:recyclerview:1.1.0" **Expected behavior** 引入AabResGuard主要目的是混淆自身业务资源,第三方的资源不好控制没异常;...
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://jcenter.bintray.com/com/bytedance/android/aabresguard-plugin/0.1.10/aabresguard-plugin-0.1.10.pom'. at org.gradle.internal.resource.ResourceExceptions.failure(ResourceExceptions.java:74) at org.gradle.internal.resource.ResourceExceptions.getFailed(ResourceExceptions.java:57)
This is really good plugin, but it have to many issues with new android libs and latest gradle (8.0+)...
**Describe the bug** 依赖版本号:0.1.10, 配置如下: ` `aabResGuard { mappingFile = file("mapping.txt").toPath() whiteList = [ "*.R.raw.*", "*.R.drawable.splash", "*.R.drawable.icon_launcher", "*.R.string.google", "*.R.string.com.crashlytics.android.build_id", "*.R.string.google_app_id", "*.R.string.default_web_client_id", "*.R.string.firebase_database_url", "*.R.string.gcm_defaultSenderId", "*.R.string.google_api_key", "*.R.string.google_app_id", "*.R.string.google_crash_reporting_api_key", "*.R.string.google_storage_bucket", "*.R.string.project_id", "*.R.string.com.crashlytics.android.build_id", "*.R.array.a1",...
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: root project 'test' -> com.bytedance.android:aabresguard-plugin:0.1.10 -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61 Update...
**Describe the bug** 使用 aabResGuard 生成 aab 文件后,安装到手机上发现所有使用 androidx.constraintlayout.widget.Group 视图的地方都出现了 app:constraint_referenced_ids 约束的id找不到的情况 是因为 aabResGuard 把app:constraint_referenced_ids中的id给混淆了的原因吗?
