简体   繁体   English

Android 当我尝试运行模拟器时,Studio Bumblebee 抱怨:未知的命令行选项“--version”

[英]Android Studio Bumblebee when I try to run the emulator it complains: Unknown command-line option '--version'

未知的命令行选项“--version”。

I'm trying to get an app to run on my Android Studio emulator, when I hit run it complains: Unknown command-line option '--version'我试图让一个应用程序在我的 Android Studio 模拟器上运行,当我点击运行时它抱怨:未知的命令行选项'--version'

I've tried a few things我试过一些东西

  1. Reinstalling AS重装AS
  2. Uninstalling & reinstalling sdks卸载和重新安装 sdk
  3. Deleting and reinstalling the emulator删除并重新安装模拟器
  4. File > Manage IDE settings > Default settings, and resetting the IDE from there.文件 > 管理 IDE 设置 > 默认设置,然后从那里重置 IDE。
  5. Redownloading the Flutter plugin, my apps are written in Flutter.重新下载Flutter插件,我的app都是Flutter写的。
  6. Updating with the latest Bumblebee patch to AS, also updating Flutter.使用最新的 Bumblebee 补丁更新到 AS,同时更新 Flutter。
  7. Using the search box to search the project for --version使用搜索框在项目中搜索--version

I have the tools SDK downloaded.我下载了工具 SDK。

How does the run process work?运行过程如何工作? Which files does it read first in the project to arrange its process?它在项目中首先读取哪些文件来安排它的流程? My emulator is Android API 30, my project's targetSdkVersion is 32.我的模拟器是Android API 30,我项目的targetSdkVersion是32。

Is there a fault in some AS IDE hooks/commands being unavailable from the command line?某些 AS IDE 挂钩/命令在命令行中不可用是否有故障? This appears to be what it says.这似乎是它所说的。 I also can't run Flutter commands from AS's terminal.我也无法从 AS 的终端运行 Flutter 命令。
If this is the problem how would I fix it?如果这是问题,我该如何解决?

Without this working, I can't run any apps on the emulator.没有这个工作,我不能在模拟器上运行任何应用程序。

Go now and update to the Bumblebee February update. Go 现在更新到 Bumblebee 二月更新。 It solves the issue with environments.它解决了环境问题。 https://androidstudio.googleblog.com/2022/02/android-studio-bumblebee-202111-patch-1.html https://androidstudio.googleblog.com/2022/02/android-studio-bumblebee-202111-patch-1.html

暂无
暂无

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

相关问题 Android 许可证状态未知? 但是当我尝试运行命令 flutter doctor --android-licenses 时,它会显示这个吗? - Android licenses status unknown? but when I try to run command flutter doctor --android-licenses it shows this? 当我在 android 工作室的模拟器中运行代码时,出现此消息 - when i run code in emulator in android studio this message appear 在 android 工作室下载 SDK 命令行工具后,如何修复 flutter 医生中的 android 许可证未知错误,即使在 cmd 上运行它之后? - How to fix android license unknown error in flutter doctor even after running it on cmd after downloading SDK command-line tools in android studio? 我无法在 android studio 中运行模拟器 - I can't run emulator in android studio 我无法在 Android Studio 中运行模拟器 - I an not able to run the emulator in Android Studio 当我尝试运行时,我的 Flutter 应用程序没有出现在模拟器中 - My Flutter app doesnt appear in the emulator when I try to run it Android Studio Bumblebee 模拟器 sdk gphone x86(mobile) 不显示 - Android Studio Bumblebee emulator sdk gphone x86(mobile) doesn't show FLUTTER Android Studio BUMBLEBEE:生成签名包需要您将 Android Z7B5CC4FB56E21DC7520F71A 或更高版本的插件更新到 3 版本。 - FLUTTER Android Studio BUMBLEBEE: Generating signed bundle requires you to update the Android Gradle plugin to version 3.2.0 or higher 当我尝试运行 Basic Flutter 项目时,模拟器未在 Android Studio 上运行 - Emulator not running on Android studio when I am trying to run a Basic Flutter project 我无法从 android studio 构建或运行我的 flutter 应用程序,但它可以从命令行运行 - I can't build or run my flutter app from android studio but it works from the command line
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM