--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/525720ef-4856-4626-ace5-5333dc68458f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It looks like the tool uses the following command to determine the version number:adb shell getprop ro.build.version.sdk
What does that command return in your setup?
That command appears to be reading the SDK version from your device rather than from your local machine. I believe that's because we use the "adb reverse" command, which requires a binary on the device to work properly. Does the "adb reverse" command work in your setup?
We're working on removing the dependency on "adb reverse", which will let us run the Flutter dev environment on older Android versions. The steps involved are (1) finish the transition from our Python-based dev tools to our Dart-based dev tools and (2) switch from using a local web server on the host (which is what requires "adb reverse") to pushing FLX packages to the device. We already use FLX packages in production and on iOS, so that change should follow quickly upon switch our dev tools from Python to Dart.
robert@DV2:~/Workspace/flutter/my_app$ flutter start --checked Version "21" of the Android SDK is too old. Please install Lollipop (version 22) or later.Unable to run application - no connected devices.robert@DV2:~/Workspace/flutter/my_app$ adb shell getprop ro.build.version.sdk21robert@DV2:~/Workspace/flutter/my_app$ adb reverse tcp:8080 tcp:8080robert@DV2:~/Workspace/flutter/my_app$ adb reverse --list
error: protocol fault (couldn't read status length): Success
Okay, yes I have to wait until either Flutter supports older versions or I get an update to my phone.
Was there not some way to run an app locally on a PC (Linux) without a phone? I think I have read about somewhere in the past but can't figure out how to do it, it's that possible?
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/f27a8044-87b4-474f-8837-5e8504954d5b%40googlegroups.com.