Update the Android 1.1 to Android 2.0

Recently I saw Google has released the android 2.0 version,so I want to be with the new technology,so I tried to download the new version,and I found the android 2.0 only had the tools ,not the platforms and adds-on,so  I followed the help doc from the google website,but one problem always made me crazy,That is the "Failed to find temp directory in ..." ,and then i created the temp dir under the android-sdk-linux dir, and then redo the same steps as the help doc said ,but problems had come up ,it goes"Downloading SDK Platform Android 2.0, API 5, revision 1  ,Installing SDK Platform Android 2.0, API 5, revision 1 ,Failed to rename directory /usr/local/android-sdk-linux/temp/PlatformPackage.new01 to /usr/local/android-sdk-linux/platforms /android-2.0",and then I think it maybe need to set the temp dir's character,so I used the command "sudo chmod  777 temp/ "to make it,and redo the steps,but the problem did exit,from the problem's details ,i saw that it must be the problem from the permissions,so I "cd .." to the root of the android-sdk-linux,and "ls -al"to see the files under the root dir,i  saw the temp dir's owner and its group's owner  are both the root,so I changed the owner as the others' with the "sudo chown 53856 temp/ sudo chgrp 5000 temp /",and the redo the steps ,it makes OK.

 

Attention : my android develping environment is as follows

 

                    eclipse -3.4.2  /linux version

                    android-sdk_r3-linux.tgz

                    ADT-0.9.4.zip

                    java6

                    ubuntu 9.10

                   



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值