两个应用都是用百度定位API 2.X版 两个应用互相切换的时候(隐式) 偶尔会弹出数组越界。不知道是为什么。下面是log
java.lang.ArrayIndexOutOfBoundsException at com.baidu.location.Jni.a(Unknown Source) at com.baidu.location.s.a(Unknown Source) at com.baidu.location.f.int(Unknown Source) at com.baidu.location.f.if(Unknown Source) at com.baidu.location.f.byte(Unknown Source) at com.baidu.location.f$b.handleMessage(Unknown Source) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3835) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) at dalvik.system.NativeStart.main(Native Method)
java.lang.ArrayIndexOutOfBoundsException at com.baidu.location.Jni.a(Unknown Source) at com.baidu.location.s.a(Unknown Source) at com.baidu.location.f.int(Unknown Source) at com.baidu.location.f.if(Unknown Source) at com.baidu.location.f.byte(Unknown Source) at com.baidu.location.f$b.handleMessage(Unknown Source) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3835) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) at dalvik.system.NativeStart.main(Native Method)