我有一个要移植到iphone的android应用。它已经快要准备好了,在进行更改等操作时,在我的测试iPhone上运行了30多个版本。提交给商店之前,我需要运行的最后一个编译失败。
我在许多不同的路径上花了无数的时间。从锁定文件夹中的损坏文件开始,一直到没有证书钥匙串条目为止,现在终于到了一个我什至不知道出什么问题的地方,因此我迫切希望为此提供一些帮助。
这是我的颤抖医生的输出:
dev@Users-Mac my_app % flutter doctor -v
[!] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.15.4 19E224g,
locale en-AU)
• Flutter version 1.7.8+hotfix.4 at /Users/dev/flutter
• Framework revision 20e59316b8 (7 months ago), 2019-07-18
20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/setup/#android-setup for detailed
instructions).
If the Android SDK has been installed to a custom location, set
ANDROID_HOME to that location.
You may also want to add it to your PATH environment variable.