我正在尝试使用AVD Manager运行Android模拟器.这是我的avd:http://image-upload.de/image/fnx79V/52b0d050ee.png
这就是开始时发生的事情:
http://image-upload.de/image/vGpQfa/e912d83939.png
我有一个Macbook Pro Retina.直接从intel页面安装Haxm驱动程序.
没有模拟器正在工作.所有人都得到相同的"错误"消息.
运行命令(这个错误是当我使用Homebrew安装Android-sdk和Android平台工具时|任何遇到同样问题的人应该删除它或查看冲突的位置)
export ANDROID_EMULATOR_DEBUG=1 test20
emulator:Found AVD name 'test20'
emulator:Found AVD target architecture: x86
emulator:Looking for emulator-x86 to emulate 'x86' CPU
emulator:Probing program: ./emulator-x86
emulator:Probing path for: emulator-x86
emulator:Found target-specific emulator binary: /usr/local/bin/emulator-x86
emulator:Probing for: /usr/local/bin/libOpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib/libOpenglRender.dylib
emulator:Probing for: /usr/local/lib/libOpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib64OpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib/lib64OpenglRender.dylib
emulator:Probing for: /usr/local/lib/lib64OpenglRender.dylib
emulator:Could not find OpenGLES emulation host libraries!
emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator -avd test21 …Run Code Online (Sandbox Code Playgroud) 我认为这是项目结构中SDK引用的问题,但是当我单击运行并选择Launch Emulator时,没有任何内容出现.
我正在尝试运行我在Galaxy Nexus上为API 16创建的AVD:
emulator @Galaxy_Nexus_Jelly_Bean_API_16
Run Code Online (Sandbox Code Playgroud)
这给出了错误
PANIC:缺少'arm'CPU的仿真器引擎程序.
尝试通过按下Android Studio内部AVD Manager的播放按钮启动它会在工具库中暂时弹出一些内容,但它会很快消失,没有任何显示,也没有明显的错误消息.
我查看了其他类似问题的帖子.大多数人都认为Windows上的Avast导致了这个问题.我在Mac上运行.我没有安装Avast.
AVD具有以下配置:
Name: Galaxy_Nexus_Jelly_Bean_API_16
CPU/ABI: Google APIs ARM (armeabi-v7a)
Path: /Users/prisoner/.android/avd/Galaxy_Nexus_API_16.avd
Target: google_apis [Google APIs] (API level 16)
Skin: galaxy_nexus
SD Card: 100 MB
hw.dPad: no
hw.lcd.height: 1280
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Galaxy Nexus
vm.heapSize: 80
skin.dynamic: yes
hw.device.manufacturer: Google
hw.lcd.width: 720
hw.gps: yes
hw.initialOrientation: Portrait
image.androidVersion.api: 16
hw.audioInput: yes
image.sysdir.1: add-ons/addon-google_apis-google-16/images/armeabi-v7a/
hw.cpu.model: cortex-a8
tag.id: google_apis
showDeviceFrame: yes
hw.camera.back: virtualscene
hw.mainKeys: no
AvdId: Galaxy_Nexus_Jelly_Bean_API_16
hw.camera.front: emulated
hw.lcd.density: 320
avd.ini.displayname: …Run Code Online (Sandbox Code Playgroud) 我有这个cordova应用,并尝试运行
cordova platform add android
cordova emualate android
Run Code Online (Sandbox Code Playgroud)
但是它从控制台给了我下面的错误
当我从android studio检查时,似乎一切都已安装
以下是我的Android Studio信息
我的环境变量
我可以从文件夹位置确认我放置的路径是否存在,有什么帮助,想法吗?
android android-emulator android-sdk-tools cordova android-studio