ubuntu配置andriod环境过程中遇到的问题

1: sdk一直更新失败,同时adt不能更新也是因为它的原因

解决方案,hosts文件中添加: 74.125.237.1 dl-ssl.google.com

因为屏蔽了dl-ssl.google.com

 

2Download interrupted: peer not authenticated sdk下载异常

 

解决方案:

 

 

打开sdk manager - tools- options-强制改变https

扫描二维码关注公众号,回复: 635515 查看本文章

 

 

3: 使用Ubuntu 12.04 64位 创建模拟器的时候出现如下问题:

 

     Error : Failed to create the SD card.

    Error : Failed to create sdcard in the AVD folder.

 

  解决办法:  www.2cto.com  

 

  有两个原因

 

  1.设置android sdk下的tools权限为可执行权限。

 

  2.没有安装ia32-libs的原因,在64位的ubantu下是不能跑32位程序的,除非装了这个。

使用sudo apt-get install ia32-libs

 

4: andriod 更多错误的更改方式。

 

http://blog.csdn.net/hudan2714/article/details/7926924

 

猜你喜欢

转载自hongtoushizi.iteye.com/blog/1958955