You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to invoke virtual method 'void com.amap.api.location.AMapLocationClient.setLocationOption(com.amap.api.location.AMapLocationClientOption)' on a null object reference
java.lang.NullPointerException
Attempt to invoke virtual method 'void com.amap.api.location.AMapLocationClient.setLocationOption(com.amap.api.location.AMapLocationClientOption)' on a null object reference
1 cn.qiuxiang.react.geolocation.AMapGeolocationModule.setLocationMode(Unknown Source)
2 java.lang.reflect.Method.invoke(Native Method)
3 com.facebook.react.bridge.JavaMethodWrapper.invoke(Unknown Source)
4 com.facebook.react.bridge.JavaModuleWrapper.invoke(Unknown Source)
5 com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
6 android.os.Handler.handleCallback(Handler.java:751)
7 android.os.Handler.dispatchMessage(Handler.java:95)
8 com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(Unknown Source)
9 android.os.Looper.loop(Looper.java:154)
10 com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(Unknown Source)
11 java.lang.Thread.run(Thread.java:761)
这个问题 我看到是因为没有初始化造成的,但我看这个源码 并没有判null 或者重新初始化,有什么好的解决方案没有
The text was updated successfully, but these errors were encountered: