fix:修复SUD桌球游戏无法加载问题(资源混淆导致,加白解决)

This commit is contained in:
max
2024-05-15 19:28:20 +08:00
parent 7576b30ae7
commit 70040c5ee1
2 changed files with 21 additions and 2 deletions

View File

@@ -293,7 +293,26 @@ aabResGuard {
mappingFile = file("aab-res-guard-mapping.txt").toPath() // Mapping file used for incremental obfuscation
whiteList = [ // White list rules
"*.R.raw.*",
"*.R.drawable.icon"
"*.R.drawable.icon",
// SUD游戏-start
"*.R.drawable.fsm_*",
"*.R.string.fsm_*",
"*.R.layout.fsm_*",
"*.R.color.fsm_*",
"*.R.id.fsm_*",
"*.R.style.fsm_*",
"*.R.dimen.fsm_*",
"*.R.array.fsm_*",
"*.R.integer.fsm_*",
"*.R.bool.fsm_*",
"*.R.mipmap.fsm_*",
"*.R.styleable.fsm_*",
"*.R.id.*loading*",
"*.R.id.container_progress",
"*.R.id.reload_btn",
"*.R.id.unitySurfaceView",
"*.R.string.game_view_content_description"
// SUD游戏-end
]
obfuscatedBundleFileName = "MoliStar-app.aab" // Obfuscated file name, must end with '.aab'
mergeDuplicatedRes = true // Whether to allow the merge of duplicate resources

View File

@@ -482,7 +482,7 @@
-keep public class com.alibaba.android.arouter.routes.**{*;}
-keep public class com.alibaba.android.arouter.facade.**{*;}
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
-keep class tech.sud.mgp.SudMGPWrapper.** {*;}
#new after proguard
-dontwarn bdcb.eedb.**