“工具"中没有Android选项;菜单,没有AVD管理器 [英] NO Android option in "tool" menu, and no avd manager

查看:644
本文介绍了“工具"中没有Android选项;菜单,没有AVD管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:Android Studio中没有AVD管理器,并且工具"菜单中没有"Android"选项.

尝试过的解决方案:

  • 重新安装(两次)
  • 将安装分区更改为包含Android SDK目录的分区
  • 进入配置"-项目默认"-项目结构",并检查我的Adroid SDK目录(在该目录中)
  • 打开一个新项目-仍然没有android菜单,也没有avd管理器.
  • 我有"Kotlin"而不是工具"菜单中的"Android"
  • 我尝试使用终端和控制台启动android avd:无法打开
  • 我试图在搜索选项中搜索Android或AVD.它们显示出来,但是当我单击时什么也没发生
  • 我看到有人说我需要5gig存储空间才能安装Android Studio.但是当我安装我的时,它仅提供一个选项,总计为2gig.但是我在两个分区上都有足够的存储空间来容纳5gig或50gig
  • 我尝试自定义工具栏,但Android选项只是不可见
  • 我已阅读此处有关此问题的所有帖子,但没有找到有效的解决方案.

这肯定是我所缺少的一个简单步骤,但是哪一个??? -

解决方案

我遇到了同样的问题,但现在已解决.

请遵循以下步骤:

  1. 如果使用的是Windows,请从控制面板"中运行取消安装.
  2. 卸载Android Studio后,建议您重新启动计算机,然后再继续执行以下步骤.
  3. 要删除和删除Android Studio设置文件的剩余部分;

    • 转到C:\ Users [您的Windows用户名]

    • 删除.android,.AndroidStudio以及该目录的任何版本,并以.gradle和.m2结尾.

    • 然后,转到C:\ Users [您的WINDOWS用户名] \ Roaming并删除JetBrains目录. (如果有,请忽略).

    • 最后,转到C:\ Program Files并删除Android目录.

    • 在Windows资源管理器C:\ Users [您的WINDOWS用户名] \ AppData \ Local中删除该SDK的所有剩余内容,并删除Android目录.

    • (可选)删除所有以前的项目AndroidStudioProjects目录.

  4. 安装Android Studio

  5. 请等待一段时间,直到出现标准或自定义安装提示

    • 选择自定义安装",并确保在那里选择了Android虚拟设备,然后继续安装.
  6. 完成所有操作..创建一个具有基本活动性的项目,然后等待..加载过程至少需要5-10分钟...最后,您将在控制台中看到Gradle构建完成. p>

  7. 您可能会在控制台中得到错误.仅当存在任何错误时,才会在控制台上提供修复所有这些错误的链接.单击这些链接,这些链接将自动得到修复.这样做直到控制台错误消失.

  8. 然后希望查看工具"菜单,您应该在那里找到ANDROID菜单选项:)

Problem : No AVD manager in Android Studio, and no "Android" option in the "tool" menu.

Tried solutions :

  • re-install (twice)
  • changed installation partition to the one containing the Android SDK directory
  • went to "configure" - "project default" - "project structure", and checked my Adroid SDK directory (it's there)
  • open a new project - there is still no android menu, and no avd manager.
  • instead of "Android" in the "tool" menu, i have "Kotlin"
  • i tried to use terminal, and console, to launch android avd : not opening
  • i tried to search for Android, or AVD, in the search option. they show, but when i click, nothing happens
  • i saw people saying i needed 5gig storage to install Android Studio. but when i install mine, it only offers one option, and total is 2gig. but i have way more than enough storage space on both my partition for 5gig or 50gig
  • i tried to customize toolbar, but Android options are just not there to be made visible
  • i have read all the posts here regarding this issue, and have not found a solution that works.

It must be a simple step that i am missing, but which one ??? -

解决方案

I faced the same issue, but it's resolved now.

Follow the steps mentioned below:

  1. Run the unistaller from Control Panel if you are using windows.
  2. After you have uninstalled Android Studio, it is recommended that you restart the machine before proceeding with the steps below.
  3. To remove and delete the remains of Android studio setting files;

    • Go to C:\Users[YOUR WINDOWS USERNAME]

    • Delete .android, .AndroidStudio and any versions of this directory with versions on the end, .gradle and .m2.

    • Then, go to C:\Users[YOUR WINDOWS USERNAME]\Roaming and delete the JetBrains directory. (If any, else ignore).

    • Finally, go to C:\Program Files and delete the Android directory.

    • Delete any remains of the SDK, in Windows Explorer, C:\Users[YOUR WINDOWS USERNAME]\AppData\Local and delete the Android directory.

    • (Optional) Delete all previous projects AndroidStudioProjects directory.

  4. Instal Android Studio

  5. Wait till after sometime a prompt will appear to standard or custom installation

    • Select Custom Installation and make sure Android virtual device is selected there and continue install.
  6. Once everything is done.. Create a project with basic actvity and then wait.. It atleast take 5- 10 minutes to load... At the end you will see Gradle build finished in the console.

  7. You may get errors in console. There will be link to fix all these errors at the console only if there are any errors.. click on those links and those will get automatically fixed. Do this till the console errors goes away.

  8. Then view Tools menu hopefully you should find ANDROID menu option there :)

这篇关于“工具"中没有Android选项;菜单,没有AVD管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆