码迷,mamicode.com
首页 > 移动开发 > 详细

ubuntu eclipse android搭建

时间:2015-03-15 19:46:12      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:

1.eclipse加入android adt:

终端:sudo gedit /etc/hosts 

加入:

#for android
173.194.72.93 dl.google.com
173.194.72.93 dl-ssl.google.com


打开eclipse help-》install new software -》add-》 加入 name:adt ,location:https://dl-ssl.google.com/android/eclipse/ 就可以在线安装。


2.android sdk 更新

首先去网上找到 android sdk linux 版

将android sdk manager 中 tools -》options-》others下的第一项选中(force http://......)。

然后把原先加入的

#for android
173.194.72.93 dl.google.com
173.194.72.93 dl-ssl.google.com

删除加入:203.208.46.146 dl-ssl.google.com 就可以更新成功。

ubuntu eclipse android搭建

标签:

原文地址:http://www.cnblogs.com/mengfanrong/p/4340223.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!