以前是proguard是由project.properties控制的,现在已经不是这样了,Android文档也没有更新。project.properties 文件现在清楚地表明它是由 Android 工具生成的,并且更改将被删除。我试过注释掉 proguard.config 行,但是当我编译时,它会重写 project.properties,并继续使用 proguard。当前禁用proguard的方法是什么?谢谢!
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt:proguard-google-api-client.txt
# Project target.
target=android-17
android.library.reference.1=../../../../android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib