找不到模拟器可执行文件

找不到模拟器可执行文件

本文介绍了Apple Silicon Android Studio 模拟器:错误:找不到模拟器可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的 Apple M1 Macbook 上安装了 Android Studio 4.2.2Android Studio Preview (Arctic Fox Beta 5).

I just installed Android Studio 4.2.2 and Android Studio Preview (Arctic Fox Beta 5) to my Apple M1 Macbook.

在创建模拟器 (arm64) 时,我立即收到错误:

When creating an emulator (arm64) I immediately receive the error:

AVD Manager: The emulator process for AVD Pixel_4a_API_30 has terminated

然后我转到了Android Studio的日志文件(Help > Show log in Finder),我看到Android Studio尝试运行以下内容时发生错误:

I then went to the log file of Android Studio (Help > Show log in Finder) and I see that the error occurs when Android Studio attempts to run the following:

~/Library/Android/sdk/emulator/emulator -netdelay none -n​​etspeed full -no-snapshot-load -avd Pixel_4a_API_30

输出:

emulator: Android emulator version 30.3.5.0 (build_id 7036990) (CL:N/A)
emulator: ERROR: can't find the emulator executable.

尝试了迄今为止我在网上找到的所有可能的解决方案...

Tried every possible solution I found online so far...

推荐答案

适用于 Apple Chip 版本的最新 Android Studio 解决了我的问题.

The latest Android Studio for Apple Chip build fixed my issue.

这篇关于Apple Silicon Android Studio 模拟器:错误:找不到模拟器可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 01:29