Is it possible to use proguard in debug mode?

前端 未结 5 1023
时光取名叫无心
时光取名叫无心 2020-12-01 10:26

In my android app, i want to test some features with proguard on.

I don\'t need to really \"debug\" it, but i want proguard to run when i hit run in eclipse. I don\'

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 10:39

    It is possible if you build with Ant. See Android custom build using Ant on how to build your project with ant. Then, simply override in the project's build.xml the target "-debug-obfuscation-check" and set proguard.enabled to true:

    
        
        
    
    

提交回复
热议问题