无法在 Android Studio 中运行模拟器 [英] Cannot run emulator in Android Studio

查看:100
本文介绍了无法在 Android Studio 中运行模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚完成了 Android Studio 的安装并尝试将其用于测试运行.当我尝试运行我的应用程序时,我收到以下错误消息

I just got done installing Android studio and trying to take it for a test run. When I try to run my app I get the following error message

emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is undefined

有人知道如何解决这个问题吗????

Does anybody know how to fix this????

推荐答案

您可能真的没有系统映像.仔细检查 $ANDROID_HOME/system-images/android-/armeabi-v7a 是否存在且不为空.如果它们真的丢失了 - 使用 SDK 管理器安装/重新安装.

It is possible that you really have no system images. Double-check that $ANDROID_HOME/system-images/android-<YOUR DESIRED API>/armeabi-v7a exists and is not empty. If they really are missing - install/reinstall with SDK manager.

这篇关于无法在 Android Studio 中运行模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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