Android:如何在EC2实例上安装模拟器时解决模拟器错误? [英] Android: How to solve the emulator error while installing it on ec2 instance?
问题描述
我正在尝试运行以下命令
$ ANDROID_HOME/tools/bin/sdkmanager模拟器"
获取错误警告:无法找到包仿真器
尝试安装android SDK viva命令行我确实安装了 build工具,平台工具
.但是当我尝试安装模拟器时,它显示没有可用的软件包.当我运行/sdkmanager --list
时,它不在可用软件包"中显示模拟器.仿真器是否依赖于CPU n OS?
在我的情况下,我无法通过cmdline-tools在不常见的Ubuntu上安装构建工具,我采用一种特殊的方法进行了调整,步骤如下:>
1.在另一个支持的常见Ubuntu上运行 ./sdkmanager模拟器" .
2.然后,将在sdk根路径中创建一个名为 emulator 的文件夹.
3.将此 emulator文件夹复制到同一路径下的上一个Ubuntu.
4.现在,我可以通过 ./sdkmananger"build-tools; 29.0.3" 来安装构建工具.
i am trying to run following command
$ANDROID_HOME/tools/bin/sdkmanager "emulator"
getting error Warning: Failed to find package emulator
trying to install android SDK viva command line
I did install a build tool, platform tool
. but when I am trying to install emulator its shows no package available. When I run /sdkmanager --list
it's not showing emulator in Available Packages. Does the emulator depend upon CPU n OS ?
In my case, I can not install build-tools on an infrequent Ubuntu through cmdline-tools, I soluted by a special way, steps as follows:
1.Run ./sdkmanager "emulator" on another common Ubuntu which support.
2.Then a folder named emulator will be created at the sdk root path.
3.Copy this emulator folder to the previous Ubuntu at the same path.
4.Now, I can install build-tools through ./sdkmananger "build-tools;29.0.3" .
这篇关于Android:如何在EC2实例上安装模拟器时解决模拟器错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!