flutter doctor
output on windows is
C:WINDOWSsystem32> flutter doctor Doctor summary (to see all
details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.0.0,> on Microsoft Windows [Version 10.0.17134.523], locale en-US)
[√]Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.2) [√] VS Code, 64-bit edition (version
1.31.1)
[√] Connected device (1 available)
? No issues found!
as you can see no issues found BUT flutter is detecting latest sdk installed as 27 when i have installed 28 already.
when i try to flutter run
from vs code an app(first sample app from docs) i get this error
FAILURE: Build failed with an exception.
i tried changing the permission of the file to remove read-only access and still get the same error, i use the same sdk to build android apps with android studio(native) and visual studio(xamarin) just fine...i have the latest sdk version installed already so why is flutter giving me this error?
Can i downgrade my sdk requirement somehow?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…