android emulator 命令的一些问题
在 ubuntu 20 系统中
- android emulator 命令的位置在 $ANDROID_SDK_HOME/emulator 目录下
- android studio 创建的 avd 存放在 ~/.android/avd 目录下
- 如果已经在Android Studio 中创建了avd,但是执行 ./emulator -list-avds 如果找不到任何 avd,可以将配置一下,在 ~/.bashrc 中添加一行
export ANDROID_AVD_HOME="/home/sunzy/.android/avd/"
- 目前好像真的不能运行 arm 架构的 avd,这个目前还没有找到好的办法
sunzy@sunzy:~/soft/usoft/Android_sdk_linux/Sdk/emulator$ ./emulator -avd Pixel_2_API_31
INFO | Android emulator version 31.2.8.0 (build_id 8143646) (CL:N/A)
PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host.
大家有好的解决办法可以cue我
- failed to initialize KVM: Device or resource busy 解决办法
你是否同时在用VirtualBox,关闭 VirtualBox
https://www.agix.com.au/kvm-error-ioctlkvm_create_vm-failed-16-device-or-resource-busy/#:~:text=Error%20starting%20domain%3A%20internal%20error%3A%20process%20exited%20while,another%20hypervisor%2C%20in%20our%20case%20it%20was%20VirtualBox.
sunzy@sunzy:~/soft/usoft/Android_sdk_linux/Sdk/emulator$ ./emulator -read-only -avd 13.5_Freeform_API_30
INFO | Android emulator version 31.2.8.0 (build_id 8143646) (CL:N/A)
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
WARNING | cannot add library /home/sunzy/soft/usoft/Android_sdk_linux/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
INFO | added library /home/sunzy/soft/usoft/Android_sdk_linux/Sdk/emulator/lib64/vulkan/libvulkan.so
INFO | configAndStartRenderer: setting vsync to 60 hz
ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
qemu-system-x86_64: failed to initialize KVM: Device or resource busy
android emulator 命令的一些问题相关推荐
- android emulator创建avd命令
android avd配置信息的生成: android avd的创建格式为:android create avd -n your-avd-name -t your-targets 其中:-n的参数为我 ...
- 启动android模拟器 命令,使用命令启动android emulator
本文教程是在Mac系统下,Windows其实也可以通过类似的方法达到目的. 脚本文件执行 创建一个脚本文件,写好了脚本,需要添加可执行权限: chmod +x file_name 添加权限以后,通过命 ...
- 7.0、Android Studio命令行工具
命令行工具分成SDK工具和平台工具. SDK工具 SDK工具跟随SDK安装包安装并随时更新. Virtual Device 工具 1. Android Virtual Device Manager 提 ...
- android+模拟器上gdb,使用gdb在Android Emulator中进行调试c程序
1.下载Android Debugging Utilities 2.启动Android Emulator模拟器 $ emulator @1.5_R2 3.把gdb和调试文件以及源代码放到模拟器上 $ ...
- Android Studio安装常见问题详解——Android Emulator Hypervisor Driver for AMD Processors installation failed.
目录 一.问题描述 二.解决方案 2.1 开启CPU虚拟化 2.2 禁用Hyper-V 2.3 使用管理员命令行在驱动程序包中执行"silent_install.bat" 一.问题 ...
- MAC M1芯片可下载的安卓模拟器Android Emulator
记录一下MAC M1芯片可下载的Android模拟器Android Emulator安装使用过程 最近在做h5+的移动端APP,使用HBuilderX打包运行的,用自己的安卓手机突然检测不到设备,就想 ...
- MEmu Android Emulator
MEmu Android Emulator是一款专门用于游戏的软件模拟器.你可以从很多方面享受使用MEmu类软件的乐趣,让某人可以直接在计算机上安装它们.您不需要配置复杂的设置,只需安装它们即可. 您 ...
- android shell命令以及Linux常用命令.(以后就不用东奔西走的找了)
Android本来就是一个linux操作系统,所以大部分都是linux的命令,如mkdir,ls,netstat,mount,ps 等,这里就不具体介绍了, 主要介绍几个Android特有的. get ...
- android cmd 命令
android cmd 命令 欢迎使用Markdown编辑器 通过sms send命令可以像Android模拟器发送短信,除了在Eclipse ADT的DDMS中通过按钮发送外,还可以通过DDMS外壳 ...
最新文章
- 红帽企业版Linux成为Linux下的.NET Core的参考平台
- 从 Servlet 入手带你看架构和框架设计的套路
- mysql_5.6.21_安装使用说明
- scipy.linalg.norm 线性代数运算 API
- TouchDesigner 编译FlexChop
- 2013年小结及2014年展望
- JQUERY的toFixed()
- HarmonyOS之在工程中导入Sample工程和添加Module
- 西伯利亚(Siberia)冷空气
- intellij运行spark的maven方式运行WordCount
- c语言密码程序返回,想程序高手求助--用C语言来编辑一个输入密码的程序
- php 7.0 特性,PHP 7.3比PHP 7.0快22% 即将进入特性冻结阶段
- jQuery 集合 搜索操作(父辈元素搜索、同辈元素搜索、子元素搜索)
- 低代码,想说爱你不容易
- 三码合一方法 制作QQ、微信、支付宝收款码合一
- svn之黄色感叹号处理方法
- VGG论文原文重点提炼解析
- 基础加强 -- 反射
- 文科高中毕业学计算机技术,一位高中生的困惑:成绩好的学理科,成绩差的学文科?...
- Oracle 后台进程(六)PMON进程
热门文章
- Graph Correspondence Transfer for Person Re-Identification论文笔记
- 且改且珍惜!龙华、龙岗七大居住旧改项目出炉!
- apro语音应答系统,打入打出电话无法触发ApdTapiDevice1的connect事件,急盼高手指点!...
- 概率/离散型分布/连续型分布/概率密度函数
- 让Vista 的 墨球游戏在 XP下运行
- K叉哈夫曼树构造方法 O(N)
- Spark 常用 API
- Python实现“躺着赚钱”!!?量化交易到底是怎么一回事
- 创建你的第一个Vue 3项目
- zz : 从free到page cache