У моего build.gradle есть. , ,Использование proguard с Android Studio
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
Каждый ProGuard-android.txt файл я могу найти (как один в C: \ Users \ Gary \ AppData \ Local \ Android \ SDK \ Tools \ Proguard) имеет в нем следующее:
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /tools/android-sdk-macosx/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Это кажется бессмысленным, потому что в проектах AS нет файлов project.properties, которые я могу найти. Единственное, что я могу видеть в моем .apk, это локальные имена и ничего больше. Где я могу поместить свои пергарды? спасибо, Дин