Now a lot of projects have added third-party jar package, but the biggest problem is the time to pack the code to confuse the error, the following is the high-German map confusion Error solution:
Add the following code to the Proguard-project.txt:
-libraryjars Libs/android-support-v4.jar
-dontwarn android.support.v4.**
-keep class android.support.v4.** {*;}
-keep interface android.support.v4.app.** {*;}
-keep public class * extends android.support.v4.**
-keep public class * extends Android.app.Fragment
#libs文件夹下的第三方jar包, note the name
-libraryjars Libs/android_location_v1.1.0.jar
-libraryjars Libs/android_map_2.2.0.jar
-dontwarn com.amap.api.**
-dontwarn com.a.a.**
-dontwarn com.autonavi.**
-keep class com.amap.api.** {*;}
-keep class com.autonavi.** {*;}
-keep class com.a.a.** {*;}
Add in Project.Properties
Proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
If you have any questions, please leave a message, reproduced the source.