我曾尝试在计算机上卸载并重新安装颤振两次,但每当我运行时flutter doctor
在终端中运行时,我仍然会遇到以下错误。
[\xe2\x9c\x97] Android toolchain - develop for Android devices\n\xe2\x9c\x97 Unable to locate Android SDK.\n Install Android Studio from:\n https://developer.android.com/studio/index.html\n On first launch it will assist you in installing the Android SDK\n components.\n (or visit https://flutter.dev/docs/get-started/install/macos#android-setup\n for detailed instructions).\n If the Android SDK has been installed to a custom location, set\n ANDROID_SDK_ROOT to that location.\n You may also want to add it to your PATH environment variable.\n
Run Code Online (Sandbox Code Playgroud)\n有谁知道如何解决这个问题?另外,这可能是我的模拟器都没有运行我的应用程序的原因吗?谢谢,抱歉,我对 Flutter 和 android studio 还很陌生。
\n使用 Xcode,当尝试将代码更新推送到 Github 时,系统提示我“Pull and Stash”。我不小心选择了ok,现在我的Xcode项目是旧版本(最后一个推送到GitHub的)。我怎样才能将其恢复到隐藏版本?