「Android Proguard SDK8」修訂間的差異

出自TAMedia
跳至導覽 跳至搜尋
imported>Wikiuser
(新頁面: == Proguard configuration == 如果您的APP本身需要經過proguard混淆,請增加下面的設定 <b>##------------ Begin: proguard configuration for MADP --------</b> -keep...)
 
 
(未顯示由 2 位使用者於中間所作的 9 次修訂)
行 1: 行 1:
== Proguard configuration ==
== Proguard configuration ==
如果您的APP本身需要經過proguard混淆,請增加下面的設定
如果您的APP發佈時需要混淆AAB/APK,請參考下方 '''proguard''' 設定
  <b>##------------ Begin: proguard configuration for MADP --------</b>
 
  -keep class com.taiwanmobile.pt.adp.view.** { *; }
[[媒體:proguard-rules.pro.zip|proguard-rules.pro]]
  -dontnote com.taiwanmobile.pt.adp.view.**
  <b>##------------ End: proguard configuration for MADP ----------</b>
 
  <b>##----------- Begin: proguard configuration for Retrofit --------</b>
  -dontnote okhttp3.internal.platform.**
  -dontnote retrofit2.Platform
  -dontnote retrofit2.**
  -dontwarn kotlin.coroutines.**
  -dontwarn retrofit2.Platform$Java8
  -dontwarn okio.**
  -dontwarn javax.annotation.**
  -keepattributes Exceptions
  -keepattributes Signature
  <b>##----------- End: proguard configuration for Retrofit ----------</b>


<br><br>
<br><br>
[[Android SDK Developer Guide 2 | 回首頁]]
[[SDK8_Android_SDK_Developer_Guide | 回首頁]]

於 2025年10月7日 (二) 03:48 的最新修訂

Proguard configuration

如果您的APP發佈時需要混淆AAB/APK,請參考下方 proguard 設定

proguard-rules.pro



回首頁