-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
This has already been discussed in #16878, but it may have been closed prematurely.
The issue is still there (flutter doctor crashes without going further) when used e.g. on CI and installing SDK via Gradle. IIUC, this is a legitimate use case.
Here are the steps to reproduce:
- Download Flutter via Git repository or archive
- Set path to Flutter tool in Android application:
This is marginally legitimate, necessary step for bootstrapping :)
$ echo "flutter.sdk=$FLUTTER_SDK_ROOT" > android/local.properties
- Copy license information from a developer's workstation
- Run
flutter doctor:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.0.0, on Linux, locale en_US.UTF-8)
Android sdkmanager tool not found (/home/travis/sdk/android/tools/bin/sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.io/setup/#android-setup for detailed instructions.
I'd expect flutter doctor to go further and identify at least Dart SDK version etc.
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight