Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小米6无法正常调用 #47

Closed
zhiwei007 opened this issue Jan 9, 2020 · 1 comment
Closed

小米6无法正常调用 #47

zhiwei007 opened this issue Jan 9, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@zhiwei007
Copy link

插件版本
amap_location_fluttify: ^0.8.5+107df19

描述bug

] I/flutter (27059): ========getLocation start===================
[ +34 ms] D/ObjectFactory(27059): 创建对象: com_amap_api_location_AMapLocationClient__android_content_Context
[ ] W/System.err(27059): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
[ +33 ms] W/System.err(27059): at me.yohom.amap_location_fluttify.AmapLocationFluttifyPlugin$1.lambda$new$272(AmapLocationFluttifyPlugin.java:8756)
[ ] W/System.err(27059): at me.yohom.amap_location_fluttify.-$$Lambda$AmapLocationFluttifyPlugin$1$JE00UKpZAISm0a68U9a4vf_Hd04.call(Unknown Source:0)
[ ] W/System.err(27059): at me.yohom.amap_location_fluttify.AmapLocationFluttifyPlugin.onMethodCall(AmapLocationFluttifyPlugin.java:9074)
[ ] W/System.err(27059): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:231)
[ ] W/System.err(27059): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93)
[ ] W/System.err(27059): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:642)
[ ] W/System.err(27059): at android.os.MessageQueue.nativePollOnce(Native Method)
[ ] W/System.err(27059): at android.os.MessageQueue.next(MessageQueue.java:332)
[ ] W/System.err(27059): at android.os.Looper.loop(Looper.java:168)
[ ] W/System.err(27059): at android.app.ActivityThread.main(ActivityThread.java:6878)
[ ] W/System.err(27059): at java.lang.reflect.Method.invoke(Native Method)
[ ] W/System.err(27059): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
[ ] W/System.err(27059): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
[ ] I/flutter (27059): get location cause exception::::::PlatformException(Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference, null, null)

@yohom
Copy link
Member

yohom commented Jan 9, 2020

参考 #44

@yohom yohom added the duplicate This issue or pull request already exists label Jan 9, 2020
@yohom yohom closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants