如何解决打开Android模拟器时出现的no cpu/abi system image available for this target

来源:互联网 发布:redis 数据库常用命令 编辑:程序博客网 时间:2024/06/05 21:08

出现这个的原因是你所用的API没有安装ARM EABI v7a System Image,所以你必须在Android SDK manager那里选择你要的API对应的ARM EABI v7a System Image

所以这里就出现问题了,要翻墙,而且速度要快,那么我是用改hosts文件的方法来弄的,又能翻墙速度又快hosts的文件内容是这个,你直接粘贴复制就行。C:\Windows\System32\drivers\etc(路径)

内容如下:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host


  
203.208.46.146 dl-ssl.google.com


#Google主页
203.208.46.146 www.google.com

--------------------------------------------------------------------------------华丽的分割线--------------------------------------------------------------------------------------

如果改了hosts文件还是翻不了墙,可能是IP地址又更新了,可以用dos窗口试找一下

打开dos直接输入ping   dl-ssl.google.com 

然后把给出的IP填到hosts文件

#Google主页
203.208.46.146 www.google.com(把这个IP改了)


成功之后,就直接去Android sdk manager那里下载相应的ARM EABI v7a System Image

下载完后的ARM EABI v7a System Image好像会出现在你的安装的sdk目录下的system-image

0 0
原创粉丝点击