简体   繁体   English

Flutter 在 Android Studio 便携式设置中出现医生问题“未找到 Android Studio”

[英]Flutter doctor problem “Android Studio not found” in Android Studio Portable setup

I created a portable installation of Android Studio.我创建了 Android Studio 的便携式安装。 That works (e:\android) I installed Flutter in e:\src (this flutter configuration has worked) I want to get this running有效(e:\android)我在 e:\src 中安装了 Flutter(这个 flutter 配置有效)我想让它运行

Flutter doctor -v gives me the common error: Flutter doctor -v 给了我常见的错误:

Android Studio (not installed) Android Studio not found Android Studio(未安装) Android Studio 未找到

I did the following我做了以下

  • edit the PATH variabel编辑 PATH 变量
  • reinstalled the plugins in A. Studio在 A. Studio 中重新安装插件

I am trying to figure out what exactly causes the error.我试图找出究竟是什么导致了错误。 I played with ANDROID_HOME settings but I'm not sure what the exact location shoud be based on e:/android我玩过 ANDROID_HOME 设置,但我不确定应该基于 e:/android 的确切位置

An explanation of the cause or a good solution would be welcome.欢迎解释原因或好的解决方案。 All threads I can find refer to regular AS installations, not to portable installation.我能找到的所有线程都是指常规 AS 安装,而不是便携式安装。

Thanks谢谢

steps to reproduce config your android sdk重现配置您的 android sdk 的步骤

flutter config --android-sdk /media/user/androidsdk

export your android sdk to path将您的 android sdk 导出到路径

 export PATH="$PATH:/media/user//androidsdk"

now you can use an editor of your choice现在您可以使用您选择的编辑器

Android Studio (not installed) Android Studio not found Android Studio(未安装) Android Studio 未找到

If youre a begginer to flutter it should not make you worry that your installation is incomplete.You can use an editor of your liking vscode, etc...如果您是 flutter 的初学者,则不必担心安装不完整。您可以使用自己喜欢的编辑器 vscode 等...

to read more on this check this issues https://github.com/flutter/flutter/issues/25719阅读更多关于这个检查这个问题https://github.com/flutter/flutter/issues/25719

https://github.com/flutter/flutter/issues/27283 https://github.com/flutter/flutter/issues/27283

PS i'm on linux PS我在linux

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Android Studio 中修复 Flutter 医生错误 - How to fix Flutter doctor error at Android Studio android studio上的颤振设置 - flutter setup on android studio Android Studio(未安装),当运行 flutter doctor 而 Android Studio 安装在机器上时 - Android Studio (not installed) , when run flutter doctor while Android Studio installed on machine 在 Windows 上设置没有 android studio 的 flutter 应用程序 - setup flutter app without android studio on windows 如何修复“颤振医生 --android-licenses”java 错误? 不含android工作室 - How to fix “flutter doctor --android-licenses” java error? Without android studio 任何人都可以用 android 工具链和 android 工作室解决 flutter 医生问题的这些问题吗? - Can anyone fix these issues with flutter doctor issues with android toolchain and android studio? Flutter 问题:在 /path/to/android/studio 中找不到 Android Studio - Flutter Problems: Android Studio not found at /path/to/android/studio Android Studio - Android Studio 中的问题 - Android Studio - Problem in Android Studio 使用 Android Studio 创建新的 Flutter 项目的问题 - Problem in creating new Flutter project with Android Studio 在 windows 上没有 android 工作室运行 flutter 时出现问题 - Problem in running flutter without android studio on windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM