Android packaging confusion encountered Baidu map error problem
First, add the following code to the Project.properities
Target=android-19proguard.config=proguard.cfg
Then add the following code to the proguard.cfg of the project
Note The map version number you are referencing here
You can see it in the Libs directory (instead of the same as the one you quoted yourself)
#------Protect Baidu Address jar Package---------Libraryjars Libs/baidumapapi_v3_4_0.jar-keep class com.baidu.** {*;}-keep class vi.com.gd i.bgl.android.**{*;}
I am just because the version number reference error caused the confusion of the APK error.
This article is from the "climb over the mountains to see the Sea" blog, please be sure to keep this source http://670176656.blog.51cto.com/4500575/1716394
Android packaging confusion encountered Baidu map error problem