One, ordinary Android project code confusion (the project does not contain a third-party class library)
Step 1: In the project.properties file, remove the following comment:
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Second, for the ArcGIS for Android project to be confused, because of the use of ArcGIS third-party class library, the project will need to be confused when the third-party class library to be excluded.
Step 1: In the Project.Properties file, remove the following comment:
Proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Step 2: Add the following content to the Proguard-project.txt file:
-libraryjars Libs/arcgis-android-api.jar// Import third-party class libraries to prevent confusion when reading package contents error
-dontwarn com.esri.** // Remove Warning
-keep class com.esri.** {*;} // do not confuse the specified content in a third-party package
-libraryjars Libs/jackson-core-lgpl-1.9.5.jar
-dontwarn org.codehaus.jackson.**
-keep class org.codehaus.jackson.** {*;}
-libraryjars Libs/jackson-mapper-lgpl-1.9.5.jar
-dontwarn org.codehaus.jackson.**
-keep class org.codehaus.jackson.** {*;}
-libraryjars Libs/jcifs-1.3.17.jar
-dontwarn jcifs.**
-keep class jcifs.** {*;}
Arcgis for Android Project Code Proguard Confusion Problem Summary