XP系统里装个android模拟器

想在XP系统里装个android模拟器,按照提示设置好了环境变量,双击emulator.exe可执行文件,据说时间很长,结果按了之后就看到闪出一个操作窗口以0.01秒的速度一闪而过,又试了几次都这样。 请问XP下能不能运行android模拟器,要怎么弄???

第1个回答  2019-05-02
新版的SDK不支持直接双击运行emulator,如果你在cmd命令行下执行emulator.exe可以看到错误提示如下:
emulator:error:You
did
not
provide
the
name
of
an
android
virtual
device
with
the
\"-avd
<name>\"
option
Read
-help
-avd
for
more
information
If
you
*really*
want
to
*not*
run
an
AVD,consider
using
\"
-data
<file>\"
to
specify
a
data
partition
image
file(I
hope
you
know
what
you
are
doing)
要运行虚拟机,必须配置android
virtual
device,方法是在cmd中cd到tools那个目录
对于SDK
1.1版本,
./android
create
avd
-t
1
-n
NormalVM01
对于SDK
1.5版本
./android
create
avd
-t
2
-n
CupcakeVM01
-n后面随便起的名字
运行的时候
./emulator
-avd
CupcakeVM01
或者
./emulator
@CupcakeVM01
建议使用开发工具来配置和运行虚拟机,更加直观。

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网