Android Couldn't load BaiduMapSDK, androidbaidumapsdk
Read the code.
Couldn't load BaiduMapSDK_v3_2_0_15 from loader dalvik. system. pathClassLoader [DexPathList [[zip file "/data/app/cn.com.shanghai.umer_doctor-2.apk", zip file "/data/cn.com. shanghai. umer_doctor/code_cache/secondary-dexes/cn.com.shanghai.umer_doctor-2.apk.classes2.zip "], nativeLibraryDirectories = [/data/app-lib/cn.com. shanghai. umer_doctor-2,/vendor/lib,/data/cust/lib,/system/lib,/data/datalib]: findLibrary returned null
The sdk cannot be loaded. Because there was a conflict between the product package and the third party at the time, I did not expect the cause. I always thought it was caused by a third-party package conflict, I checked it for a long time and took a note.
Solution
In order to be compatible with all versions, so we need to put Baidu sdk in armeabi, armeabi-v7a and so on these folders, the problem is good