How to use -dontwarn in ProGuard?

前端 未结 2 516
粉色の甜心
粉色の甜心 2020-12-09 07:42

I am using android studio to build debug and release application. When i build debug/release application

./gradlew assembleDebug

./gradlew assembleRelease
<         


        
2条回答
  •  无人及你
    2020-12-09 08:23

    Put the -dontwarn lines in the proguard-rules.pro or proguard-rules.txt file.

    Had to google this elsewhere since none of the answers included this info. Check the other answers for the specific lines you need for your case.

提交回复
热议问题