您的位置:首页 > 移动开发 > Android开发

win7下搭建android环境 几个需要注意的地方

2015-03-03 13:41 471 查看
  win7下搭建android环境 几个需要注意的地方

1. 四个下载的工具,jdk+ecilpse+ADT+SDK下载与安装,需要注意的地方:

  安装目录不要出现 空格

2. 更新SDK时,

  首先 需要在操作系统hosts文件中添加下载ip,节点

  

# 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

# localhost name resolution is handled within DNS itself.

127.0.0.1 localhost

# ::1 localhost

203.208.46.146 www.google.com

74.125.113.121 developer.android.com

203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

#下面为http代理

110.4.12.178:80

  然后 还要在SDK Manage的tools中添加http代理

[b]110.4.12.178:[/b][b]80[/b]

[b]3. 如果出现在api包中无system image的情况[/b]

[b]那就多试验几个http代理,然后在重启sdk manage程序,并在程序packages中多次reload[/b]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: