سلام.
بنده هر کاری میکنم نمی تونم پروژه رو اجرا کنم ولی در کاتلین پروژه اجرا میشد نمی دونم مشکل از کجاست. از flutter doctor هم کمک گرفتم ولی نمی دونم اون دو مشکلی که نوشته چی هست.منظورم اینه نمی دونم X Android SDK file یعنی چی.(چون من SDK ها رو دارم ولی این با ضربدر نشون میده)
اینم چیزایی که flutter doctor نشون میده.
C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.678], locale en-US)
• Flutter version 1.12.13+hotfix.5 at C:\src\flutter
• Framework revision 27321ebbad (2 months ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at D:/Android_SDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = D:/Android_SDK
X Android SDK file not found: D:/Android_SDK\build-tools\29.0.3\aapt.
• Try re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed instructions.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[√] VS Code (version 1.41.1)
• VS Code at C:\Users\APADANA\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.8.1
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.0 (API 24) (emulator)
! Doctor found issues in 2 categories.
Process finished with exit code 0
با سلام و وقت بخیر . sdk اندروید رو کامل دانلود و نصب کردید؟
سلام .
بله . sdk اندروید رو کامل دانلود و نصب کردم.
باسلام .
این لینک رو دنبال کنید
https://stackoverflow.com/questions/49175231/flutter-does-not-find-android-sdk