Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Cedar-byte opened this issue Apr 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Cedar-byte
Copy link

Cedar-byte commented Apr 19, 2024

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混淆的包就没有问题。

@Cedar-byte Cedar-byte added the bug Something isn't working label Apr 19, 2024
@Cedar-byte Cedar-byte changed the title [混淆后上传aab包到Google play时提示“上传Android App Bundle时出错请稍后重试”] 混淆后上传aab包到Google play时提示“上传Android App Bundle时出错请稍后重试” Apr 19, 2024
@JohnsonJLi
Copy link

出现了同样的问题

@8enet
Copy link

8enet commented Jun 19, 2024

需要更新依赖重新编译

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants