Closed dragazo closed 11 months ago
Here's the output of flutter doctor
. I'm only missing Android studio, but that's because on this machine I only need to build for iOS - Android works fine on another machine already.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.2 22D49 darwin-arm64, locale en)
[✗] 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/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.82.0)
[✓] Connected device (3 available)
[✓] Network resources
! Doctor found issues in 2 categories.
You can try to refresh the template manually via flutter create --platforms=ios .
which would generate the missing files. I haven't been working with iOS recently so I didn't catch this, thanks for the notice!
I tried totally deleting the ios
directory and doing that, which didn't work (missing all the rust config). I could try running it without deleting everything, but I'm just satisfied it's finally working (by just removing RunnerTests
) lol
I'm using this template for my new iOS/Android app, which has been really helpful so far. It works perfectly for Android and Linux (desktop), but on iOS I keep getting the following error:
I don't know if this would have any negative side-effects, but this seems to be solvable by removing the following lines from the
Podfile
: