楼主的Android  SDK出现了问题,可以检查一下哪里出现了问题,如果不行,就重新下载 一个吧

解决方案 »

  1.   

    由于公司网络限制所以不可能从官网下载,之前是使用一个同事给的一个SDK压缩包解压就能用,这个不知怎么就没用了
      

  2.   

    我找到了一篇关于这个问题的答案,但是是英文的,我看不懂啊
    This afternoon, there is a problem bores so much, which is android SDK setup.exe. When I click the setup.exe to update some package of android platform, there is a error message box pop up, on which with a string that “GetTempFileName failed. The directory name is invalid”. It’s so strange, because it’s right yesterday. I search the web with Google, some people account this problem, but there is nothing help to resolve the problem.I uninstall android SDK, then reinstall from the beginning, and restart, it’s no effect. So I doubt it’s not a SDK installation, according to error information, there is a error when program create temporary file. I dump the environment various, and compare with a environment of college’s OS, There is a same error during the loading of BeyondComparer, aha, temporary file. I see my environment various %TEMP%, %TMP% is not normal like other college. so it must be something in my environment.In order to verify my idea, I edit the %TEMP% and %TMP% with identifying a absolute path, then the compiling with visual studio “hello world” project passed, that will create temporary file when compile a project. Then I delete the %TEMP% and %TMP%, create %TEMP% and %TMP% again, then set them with “%USERPROFILE%\Local Settings\Temp”, log off OS, then log in. The setup.exe is OK.It took me about 1 hour to resolve the problem, although I have not known yet that which software lead the problem.�0�2 Anyway, the SDK reworks.I write these words to record the process of resolving this problem. It maybe helpful for android new comers.
    原网址:http://liuxk2010.ipower.com/blog/?p=595
    求高手翻一下
      

  3.   

    哥搞定了
    他提示的错误一直是什么临时文件夹打开失败之类的意思
    1L和3L让我重新安装SDK这个我试了,木有用
    根据LS英文(外加google翻页and百度翻页【介货不行翻的不太好】)的意思就是修改环境变量%TEMP% and %TMP%,把他的值改为绝对路径(果然英文很重要,大家要好好学习英文啊)改完了重启eclipse就可以了哥是天才
      

  4.   

    艹你嘛的,哥是自己看了片英文文档写出来的文章,TMD不会搞滚蛋