ava.lang.ExceptionInInitializerError
at com.baidu.location.an$d.X(Unknown Source)
at com.baidu.location.s$2.run(Unknown Source)
Caused by: java.lang.IllegalStateException: no found the liblocSDK4d.so file, please correct settings
at com.baidu.location.Jni.<clinit>(Unknown Source)
... 2 more
java.lang.IllegalStateException: no found the liblocSDK4d.so file, please correct settings
at com.baidu.location.Jni.<clinit>(Unknown Source)
at com.baidu.location.an$d.X(Unknown Source)
at com.baidu.location.an$d.X(Unknown Source)
at com.baidu.location.s$2.run(Unknown Source)
Caused by: java.lang.IllegalStateException: no found the liblocSDK4d.so file, please correct settings
at com.baidu.location.Jni.<clinit>(Unknown Source)
... 2 more
java.lang.IllegalStateException: no found the liblocSDK4d.so file, please correct settings
at com.baidu.location.Jni.<clinit>(Unknown Source)
at com.baidu.location.an$d.X(Unknown Source)
at com.baidu.location.s$2.run(Unknown Source)
解决方法
需要把百度提供的.so文件放进项目中
所放位置在 main目录下新建jniLibs,在jniLibs下新建armeabi,然后再把所以的.so文件放在下面