There are two files in the root directory of the project:
1.project.properties
# This file was automatically generated by Android tools.# does not modify this file--YOUR changes would be erased!## this F Ile must is checked in Version Control systems.## to customize properties used by the Ant build system edit# "Ant.properti Es ", 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): sdk.dir=d:\androidpmtoam\adt-bundle-windows-x86_ 64-20131030\sdkproguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt# Project Target.target=android-19
2.proguard-project.txt
# to enable Proguard in your project, edit project.properties# to define the Proguard.config property as described file.## ADD Project specific Proguard rules here.# by default, the ' flags in ' This file is appended to ' flags specified# in ${sdk.dir}/tools/proguard/proguard-android.txt# You can edit the include path and order by changing the proguard# include Property in project.properties.## to 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 SPE Cify the fully qualified class name to the JavaScript interface# Class:-keepclassmembers class Fqcn.of.javascript.interfac E.for.webview {public *;} -optimizationpasses 5- Dontusemixedcaseclassnames-dontskipnonpubliclibraryclasses-dontpreverify-verbose-optimizations!code/ Simplification/arithmetic,!field/*,!class/merging/*-keep public class * extends Android.app.activity-dontwarn Com.googlE.**-keep class com.google.** {*;} -dontwarn Com.baidu.**-keep class com.baidu.** {*;} -dontwarn Net.sqlcipher.**-keep class net.sqlcipher.** {*;} # explicitly preserve all serialization members. The Serializable interface# is only a marker interface, so it wouldn ' t save them.-keepclassmembers class * Implements Java . Io. Serializable {static final long serialversionuid; private static final java.io.objectstreamfield[] Serialpersistentfields; private void WriteObject (Java.io.ObjectOutputStream); private void ReadObject (Java.io.ObjectInputStream); Java.lang.Object Writereplace (); Java.lang.Object readresolve ();} -keep public class * Implements java.io.Serializable {*;} # #---------------Begin:proguard configuration for Gson----------# Gson uses generic type information stored in a class file when working. Proguard# removes such information by default, so configure it to keep all of the it.-keepattributes signature# for using Gson @Expose Annotation-keepattributes *annotation*# Gson specific Classes-keep class Sun.misc.Unsafe {*;} -keep class com.dooioo.eal.entity.** {*;} # application classes that'll be is serialized/deserialized over Gson-keep class com.google.gson.examples.android.model.* * { *; } # #---------------End:proguard configuration for Gson----------
Android Project Code obfuscation