I'm starting developing apps with flutter, and I encounter with this error when I clone a project from GitHub:
What went wrong?
Execution failed for task ':app:preDebugBuild'.
Android dependency 'androidx.appcompat:appcompat' has different version for the compile (1.0.0) and runtime (1.0.2) classpath. You should manually set the same version via DependencyResolution
I'm running Android Studio 3.2.2 and Flutter SDK 1.2.1
You need to migrate the project to Android X. You can only do this through Android studio 3.3.
Follow the procedures here to Migrate your Project to Android X
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With