问题
I'm trying to get Flutter/Dart plugins set up in Android Studio but I'm having a ton of trouble.
The Plugin Browser doesn't work at all. I tried with different internet connections and with my firewall totally off but still got nothing. Also tried reinstalling fully to no avail. I added a repository manually but it doesn't connect to it. I can go to that link in my web browser without any issue.
I tried installing the Dart/Flutter plugins from the disk too and it throws a different error
Plugin 'Dart' is incompatible with this installation
I've also tried enabling "auto-detect proxy settings" in the HTML Proxy settings and this didn't help either.
I'm running the latest version of Android Studio (3.5.3) on a Windows 10 Home machine. I tried to downgrade to 3.1.2 and that didn't help either.
Not sure what to do to get this working - any help would be awesome!
回答1:
The issue was resolved by reinstalling again. Not sure what fixed it sepcifically since I already had tried reinstalling, but it worked this time around. Thanks all!
回答2:
I recommend you to go through the link https://medium.com/flutterpub/installing-flutter-in-android-studio-ec135911ceea. It is just a simple wizard to setup flutter in Android Studio.
来源:https://stackoverflow.com/questions/59465755/cant-install-plugins-in-android-studio