从一天开始,我一直在尝试解决这个错误。
首先我得到了这个错误
Exception: Android sdkmanager tool not found (/ usr / lib / android-sdk / tools / bin / sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.io/setup/#android-setup for detailed instructions.
我试图解决这个错误,但无法解决,我完全删除了 Android Studio(sdk、gradle、.android ...等)。当我写医生时,我重新安装并颤抖我得到了这个错误。新错误截图
C:\Users\Fatihh>flutter doctor --android-licenses
Warning: File C:\Users\Fatihh\.android\repositories.cfg could not be loaded.
4 of 7 SDK package licenses not accepted. 100% Computing updates...
Review licenses that have not been accepted (y/N)?
C:\Users\Fatihh>
最后我决定在这里写。我需要帮助。Android studio 版本:4.1.1 操作系统:Win 10 Flutter SDK:1.22.5 Android SDK:30.3