flutter_qq icon indicating copy to clipboard operation
flutter_qq copied to clipboard

flutter 新手 求解

Open sunbowen920617 opened this issue 4 years ago • 0 comments

Launching lib/main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Installing build/app/outputs/flutter-apk/app.apk... Waiting for Android SDK built for x86 to report its views... Debug service listening on ws://127.0.0.1:49283/Dd9i1YVuoNE=/ws Syncing files to device Android SDK built for x86... D/EGL_emulation(10906): eglMakeCurrent: 0xa0cc97a0: ver 2 0 (tinfo 0x91b91520) I/flutter (10906): databasesPath/data/user/0/com.sun.pub.downway/databases I/flutter (10906): /data/user/0/com.sun.pub.downway/databases/downway.db I/flutter (10906): Opening existing database E/MethodChannel#flutter_qq(10906): Failed to handle method call E/MethodChannel#flutter_qq(10906): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.tencent.tauth.Tencent.isQQInstalled(android.content.Context)' on a null object reference E/MethodChannel#flutter_qq(10906): at com.github.marekchen.flutterqq.FlutterQqPlugin.isQQInstalled(FlutterQqPlugin.java:89) E/MethodChannel#flutter_qq(10906): at com.github.marekchen.flutterqq.FlutterQqPlugin.onMethodCall(FlutterQqPlugin.java:62) E/MethodChannel#flutter_qq(10906): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) E/MethodChannel#flutter_qq(10906): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#flutter_qq(10906): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) E/MethodChannel#flutter_qq(10906): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#flutter_qq(10906): at android.os.MessageQueue.next(MessageQueue.java:323) E/MethodChannel#flutter_qq(10906): at android.os.Looper.loop(Looper.java:136) E/MethodChannel#flutter_qq(10906): at android.app.ActivityThread.main(ActivityThread.java:6077) E/MethodChannel#flutter_qq(10906): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#flutter_qq(10906): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866) E/MethodChannel#flutter_qq(10906): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756) I/flutter (10906): QQInstalled:PlatformException(error, Attempt to invoke virtual method 'boolean com.tencent.tauth.Tencent.isQQInstalled(android.content.Context)' on a null object reference, null) I/flutter (10906): null

sunbowen920617 avatar Aug 24 '20 09:08 sunbowen920617