使用百度地图定位时显示定位失败,日记中提示“galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy”
这个问题是由什么引起的,meta标签都已经添加,key值也都核对过了没写错

解决方案 »

  1.   

    06-13 20:25:30.110 32343-32343/android.ye.coolweather I/art: Late-enabling -Xcheck:jni
    06-13 20:25:30.167 32343-32343/android.ye.coolweather W/System: ClassLoader referenced unknown path: /data/app/android.ye.coolweather-2/lib/arm
    06-13 20:25:30.297 32343-32368/android.ye.coolweather D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
    06-13 20:25:30.355 32343-32368/android.ye.coolweather I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
    06-13 20:25:30.357 32343-32368/android.ye.coolweather I/OpenGLRenderer: Initialized EGL, version 1.4
    06-13 20:25:31.776 32343-32343/android.ye.coolweather W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
    06-13 20:25:31.776 32343-32343/android.ye.coolweather W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
    06-13 20:25:31.776 32343-32343/android.ye.coolweather W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
    06-13 20:25:31.921 32343-32343/android.ye.coolweather D/baidu_location_client: baidu location connected ...
      

  2.   

    今天也遇到了这个问题:galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy模拟器上出现的。发布到真机上试了下能正常取到经、纬度。
      

  3.   

    Manifest中加上这个:
            <service
                android:name="com.baidu.location.f"
                android:enabled="true"
                android:process=":remote"></service>
      

  4.   

    我也遇到这个问题初始化总是提示这个信息,但是不影响获取坐标信息,key也验证正确,我的项目android:targetSdkVersion="22",规避了动态权限,应该不是动态权限吧,求解决
      

  5.   

    在 当前的界面中的onCreateView加SDKInitializer.initialize(getActivity().getApplicationContext());就可以了