Android SDK file not found: ADB

Solution: Open to ~ / Library/Android/SDK/platform – the tools, the directory is also a platform – the tools directory, move all the content below to ~ / Library/Android/SDK/platform – the tools directory.

Android sdkManager tool not found when flutter doctor is executed

The full text is as follows:

Solution: Open Android Studio,

Click Apply and choose Accept. After the installation is complete, the error will be solved and the execution can continueflutter doctor.

(/Users/twistedfate/Library/Android/sdk/tools/bin/sdkmanager). Try re-installing or updating your Android SDK, Visit flutter. Dev/setup / \ # and… for detailed instructions.

Git pull code compile program error: / bin/sh, / Users / {username} / flutter/packages/flutter_tools/bin/xcode_backend. Sh: No to the file or directory

This error is reported when Git pulled someone else’s code and the reference path is someone else’s

Solution:

Search globally for 'FLUTTER_ROOT' in Android StudioCopy the code

As you can see from the graph, the first line is my local path. The red box is not mine. Change it.