引用locSDK_6.1.3.jar,切记添加相应的so文件. 1.定位初始化,需要使用getApplicationContext() mLocClient = new LocationClient(getApplicationContext());// 定位初始化 mLocClient.registerLocationListener(myLocationListener); LocationClientOption option = new LocationClientOption(); o