我正在使用Xamarin.Forms
。我想在我的Xamarin.Android项目中添加Proguard文件。
我需要哪个文件proguard.cfg或progards.txt。
我们是否将-downwarn
与.dll或类名一起使用?
我得到了答案。
proguard.cfg
文件添加到我们的android项目中。ProguardConfiguaration
proguard.cfg
文件打开到Notepad ++,并将Ecoding更改为UTF-8(无BOM)-dontwarn
属性,然后添加软件包名称。类似于-dontwarn com.appdynamics.eumagent.**
,而没有使用关键字class
。.cfg
文件后清除项目现在ProGuard应该可以工作了。