-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
I hit it first after making minor changes to the flutter code lab, and am hitting it now, while trying to put together a simpler flutter app.
Hot reload is not working, cold launches sometimes work.
Flutter run from IJ.
Launching lib/main.dart on Nexus 6P in debug mode...
Built build/app/outputs/apk/app-debug.apk (21.7MB).
W/IInputConnectionWrapper(21208): reportFullscreenMode on inexistent InputConnection
I/flutter (21208): executeQuery
Restarted app in 1,286ms.
E/MethodChannel#flutter/textinput(21208): Failed to handle method call
E/MethodChannel#flutter/textinput(21208): java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)
E/MethodChannel#flutter/textinput(21208): at android.text.Selection.setSelection(Selection.java:76)
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#flutter/textinput(21208): at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.next(MessageQueue.java:323)
E/MethodChannel#flutter/textinput(21208): at android.os.Looper.loop(Looper.java:136)
E/MethodChannel#flutter/textinput(21208): at android.app.ActivityThread.main(ActivityThread.java:6121)
E/MethodChannel#flutter/textinput(21208): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
flutter analyze:
~/src/github/flutter/bin/flutter analyze
Analyzing jwren/src/github/flutter_google_knowledge_graph...
hint • The value of the local variable 'v' isn't used at lib/main.dart:97:9 • unused_local_variable
1 issue found.
(Ran in 4.5s)