How to automatically generate proguard-android.txt?

后端 未结 4 1790
轮回少年
轮回少年 2021-01-13 11:54

Reading all the wonderful things the new ProGuard Improvements for Android do, I switched to to the new scheme by uncommenting the following line in a newly created

4条回答
  •  天命终不由人
    2021-01-13 12:44

    New Projects or old ones converted when changing API now in project.properties link to

    proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard-project.txt
    

    You can simply link your projects proguard config by commenting the line and adding

    proguard.config=proguard-project.txt
    

    to it.

    Cheers.

提交回复
热议问题