"WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'xxx.ram': Invalid argument".
来源:互联网 发布:无锡汽车模具编程招聘 编辑:程序博客网 时间:2024/06/05 10:54
参考文文章:
http://stackoverflow.com/questions/32901130/android-studio-avd-ram-size-not-changing
http://stackoverflow.com/questions/32883785/why-does-android-emulator-increase-the-ram-size-automatically-and-make-me-fail-t
我的系统:WIN7 X64
今天在启动AVD时出现如下错误:
"WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'xxx.ram': Invalid argument".
看下老外是如何解决的:
I download and install Android sdk for API level 19 from SDK manager(SDK Platforms,SDK Tools).
Then deleted my existing emulator device(api 23) and after downloading system image for i.e.
kitkat (api 19) that takes lower memory create a new AVD.
Then Running this one solved the error "Cannot set up guest memory 'pc.ram': Invalid argument". It runs smoothly in my win7
You can downgrade the Intel x86 Atom System Image to API-19 instead of API 21/22/23 so as to use less RAM space.
You can find the config in the config.ini file, and set the RAM size to 512 by hw.ramSize=512.
I had tried Image with API-21/22/23. Even I had set ramSize=256 in config.ini,
or add option to change the memory size, after the command: emulator -memory 256 -avd [<avd_name>],
it still shows: emulator: WARNING: Increasing RAM size to 1GB
http://stackoverflow.com/questions/32901130/android-studio-avd-ram-size-not-changing
http://stackoverflow.com/questions/32883785/why-does-android-emulator-increase-the-ram-size-automatically-and-make-me-fail-t
我的系统:WIN7 X64
今天在启动AVD时出现如下错误:
"WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'xxx.ram': Invalid argument".
看下老外是如何解决的:
I download and install Android sdk for API level 19 from SDK manager(SDK Platforms,SDK Tools).
Then deleted my existing emulator device(api 23) and after downloading system image for i.e.
kitkat (api 19) that takes lower memory create a new AVD.
Then Running this one solved the error "Cannot set up guest memory 'pc.ram': Invalid argument". It runs smoothly in my win7
You can downgrade the Intel x86 Atom System Image to API-19 instead of API 21/22/23 so as to use less RAM space.
You can find the config in the config.ini file, and set the RAM size to 512 by hw.ramSize=512.
I had tried Image with API-21/22/23. Even I had set ramSize=256 in config.ini,
or add option to change the memory size, after the command: emulator -memory 256 -avd [<avd_name>],
it still shows: emulator: WARNING: Increasing RAM size to 1GB
意思很明显了,就是下载19版本的虚拟手机系统镜像,然后用其来创建android虚拟机即可,如下图所示:
0 0
- "WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'xxx.ram': Invalid argument".
- Cannot set up guest memory 'android_arm': Invalid argument 解决方法
- Android Studio初体验之启动AVD模拟器异常:cannot set up guest memory 'pc.ram'
- [Android]模拟器不能启动,报错:Cannot set up guest memory 'android_arm': Invalid argument
- &"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
- Android studio 无法启动安卓模拟器Cannot launch AVD in emulator. Output: emulator: WARNING: Increasing RAM siz
- ram
- RAM
- RAM
- RAM
- RAM
- -bash: ulimit: pipe size: cannot modify limit: Invalid argument
- Cannot write to RAM for Flash Algorithms MDK422
- Cannot Write to RAM for Flash Algorithms ! 的解决方法
- SSLSessionCache: Invalid argument: size has to be >= 8192 bytes
- Cannot set device tcp segmentation offload settings: Invalid argument
- Invalid argument passed to ext2 library while setting up superblock
- INF: How To Enable Analysis Server to Use 3 GB of RAM
- 【红宝书笔记】cookie,[session|global|local]Storae的异同
- Linux 命令
- 深入理解js闭包
- ASP.NET 文件的下载
- Windows平台分布式架构实践 - 负载均衡
- "WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'xxx.ram': Invalid argument".
- cocos2d-js的自定义事件的两种创建方法
- Android上玩玩Hook?
- 在Windows中构建基于Docker的一致性开发环境
- 大端字节(big-endian)和小端字节(little-endian):到底哪些地方要注意字节顺序
- 抓取Android应用的log
- lzg_ad:XPE常见问题FAQ
- 民数记研读1——于宏洁
- Gnuplot使用技巧:线和点的种类(Line and Point Types)