如何将windows 10上的android studio连接到ubuntu上的Flitter sdk

如何将windows 10上的android studio连接到ubuntu上的Flitter sdk,android,flutter,ubuntu,windows-subsystem-for-linux,Android,Flutter,Ubuntu,Windows Subsystem For Linux,我是一个Windows10用户,使用WSL试图在我的ubuntu终端上运行颤振。这是我的颤振医生要回来的 [!] Android Studio ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. ✗ android-studio-dir = /

我是一个Windows10用户,使用WSL试图在我的ubuntu终端上运行颤振。这是我的颤振医生要回来的

[!] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ android-studio-dir = /mnt/c/ProgramData/Microsoft/Windows/Start
      Menu/Programs/Android Studio
    ✗ Unable to find bundled Java version.
正如你所看到的,我已经设置了通往Android studio的路径,但Flitter没有识别它。我也尝试过将linux版本的android studio安装到我的ubuntu终端上,但它无法识别所需的dart和FLATTER插件。执行
flatter run
时,返回该值

FAILURE: Build failed with an exception.

* Where:
Build file '/home/adrian/code/smallTALK/android/app/build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [class 'org.gradle.api.plugins.BasePlugin']
   > Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
我还尝试在Android Studio中卸载并重新安装了flutter和dart插件。 任何帮助都将不胜感激