I am trying to install flutter and dart into Android studio and for reasons beyond my comprehension i cannot use the plugins marketplace online so i have to download the plugins manually by the browser from the marketplace and add the plugins from disk.
So I've downloaded both flutter and dart zip files versions as following
when try to "Install Plugin from disk..." an error message appears stating "Plugin 'flutter' is incompatible with this installation" same issue occurs when installing dart plugin
if they're not compatible then which dart/flutter versions are compatible with the latest android studio version?
This is my Android Studio About
Android Studio 3.6.3 Build #AI-192.7142.36.36.6392135, built on April 14, 2020 Runtime version: 1.8.0_212-release-1586-b04 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1237M Cores: 8 Registry: documentation.show.toolbar=true, ide.new.welcome.screen.force=true, debugger.watches.in.variables=false Non-Bundled Plugins: com.jetbrains.ChooseRuntime, pl.charmas.parcelablegenerator
For anyone who comes through a similar issue, here's how i fixed it for myself.
First, thanks to @Midhun MP's comment on the main question, i used his config by manually downloading and installing them.
android Studio 3.6.3 (Same build), Flutter Plugin: 45.1.1, Dart Plugin: 192.7761
This installed flutter and dart correctly, but then another issue showed up.
When i attempt to run a newly created flutter project i get a bunch of [FATAL ERROR] messages.
The solution for the second issue can be found in this github issue comment
Basically write the following commands on the terminal in your project's directory
Those were enough to fix my [FATAL ERROR] issues, but if the issues persist then you can try the following solution
change the url at MAVEN_REPO in the flutter.gradle file (located in directory flutter/packages/flutter_tools/gradle/) from http://download.flutter.io to https://storage.googleapis.com/download.flutter.io