Skip to content

Instantly share code, notes, and snippets.

@wsakka
wsakka / flutter doctor issues
Created April 25, 2019 10:43
Just some fixes for issues reported by flutter doctor (not getting fixed via brew). (For Macs only)
If flutter says it needs ideviceinstaller, this should work: brew install ideviceinstaller
Then I got this: ✗ ios-deploy out of date (1.9.4 is required). To upgrade with Brew:
brew upgrade ios-deploy
Which I tried (and failed):
$ brew upgrade ios-deploy
Error: ios-deploy not installed
Already having npm installed, I ran this: npm install -g ios-deploy
and that worked.
Then flutter doctor reported this: CocoaPods out of date (1.5.0 is recommended).
* What went wrong:
Could not determine the dependencies of task ':app:preDynamicReleaseBuild'.
> Could not resolve all task dependencies for configuration ':app:dynamicReleaseRuntimeClasspath'.
> Could not find androidx:multidex:2.0.1.
Searched in the following locations:
- file:/Users/me/Library/Android/sdk/extras/m2repository/androidx/multidex/2.0.1/multidex-2.0.1.pom
- file:/Users/me/Library/Android/sdk/extras/m2repository/androidx/multidex/2.0.1/multidex-2.0.1.jar
- file:/Users/me/Library/Android/sdk/extras/google/m2repository/androidx/multidex/2.0.1/multidex-2.0.1.pom
- file:/Users/me/Library/Android/sdk/extras/google/m2repository/androidx/multidex/2.0.1/multidex-2.0.1.jar
- file:/Users/me/Library/Android/sdk/extras/android/m2repository/androidx/multidex/2.0.1/multidex-2.0.1.pom