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

ubuntu eclipse android搭建

时间:2014-10-09 02:44:08      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:android   style   http   color   io   os   ar   for   sp   

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搭建

标签:android   style   http   color   io   os   ar   for   sp   

原文地址:http://blog.csdn.net/hackcoder/article/details/39901071

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