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