bytedance / AabResGuard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)
Apache License 2.0
1.29k stars 179 forks source link

混淆后上传aab包到Google play时提示“上传Android App Bundle时出错请稍后重试” #100

Open Cedar-byte opened 2 months ago

Cedar-byte commented 2 months ago

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", ".R.string.s1", ".R.mipmap.m1", ".R.dimen.d1", ".R.integer.int1", ".R.string.com.crashlytics.", ".R.string.facebook_app_id", ".R.string.fb_login_protocol_scheme", ".R.string.facebook_client_token" ] obfuscatedBundleFileName = "duplicated.aab" mergeDuplicatedRes = false enableFilterFiles = false filterList = [] enableFilterStrings = false unusedStringPath = file("unused.txt").toPath() }

打包aab后,传包时,Google play提示“上传Android App Bundle时出错请稍后重试“,但是如果上传未经aabResGuard混淆的包就没有问题。

JohnsonJLi commented 1 month ago

出现了同样的问题

8enet commented 2 weeks ago

需要更新依赖重新编译