fix:修复SUD桌球游戏无法加载问题(资源混淆导致,加白解决)
This commit is contained in:
@@ -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
|
||||
|
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
@@ -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.**
|
||||
|
Reference in New Issue
Block a user