重新看了一下,第一次定位会出个错,
10-12 11:39:33.070: D/baidu_location_service(10065): baidu location service register ...
10-12 11:39:33.780: W/System.err(10065): java.lang.UnsatisfiedLinkError: Couldn't load locSDK6a: findLibrary returned null
10-12 11:39:33.780: W/System.err(10065): at java.lang.Runtime.loadLibrary(Runtime.java:365)
10-12 11:39:33.780: W/System.err(10065): at java.lang.System.loadLibrary(System.java:535)
10-12 11:39:33.780: W/System.err(10065): at com.baidu.location.Jni.(Unknown Source)
10-12 11:39:33.780: W/System.err(10065): at com.baidu.location.c.j$a.(Unknown Source)
10-12 11:39:33.780: W/System.err(10065): at com.baidu.location.c.j$a.(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.c.j.(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.c.d.(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.c.d.try(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.a.a.m(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.a.a.do(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at com.baidu.location.a.a$a.handleMessage(Unknown Source)
10-12 11:39:33.790: W/System.err(10065): at android.os.Handler.dispatchMessage(Handler.java:99)
10-12 11:39:33.790: W/System.err(10065): at android.os.Looper.loop(Looper.java:137)
10-12 11:39:33.790: W/System.err(10065): at android.os.HandlerThread.run(HandlerThread.java:60)
10-12 11:39:34.090: W/dalvikvm(10065): VFY: unable to resolve virtual method 289: Landroid/content/Context;.getExternalFilesDirs (Ljava/lang/String;)[Ljava/io/File;
10-12 11:39:34.210: W/dalvikvm(10065): VFY: unable to resolve static method 1057: Landroid/os/SystemClock;.elapsedRealtimeNanos ()J
10-12 11:39:34.410: D/baidu_location_service(10065): baidu location service stop ...
10-12 11:39:46.090: D/baidu_location_service(10065): NetworkCommunicationException!
10-12 11:39:46.270: D/baidu_location_service(10065): NetworkCommunicationException!