Now a lot of projects are added to the 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 resolution method:
Add code such as the following in 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.** {*;}
Join in the 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.
Android Project add-on map code confusion considerations