Installing Software has encountered a prob… - android

北城余情 提交于 2019-11-29 15:39:45

问题


I get this problem in the console every time I launch the sdk,

... Framework Resource Parser] Collect preferences failed, class java/lang/AutoCloseable not found in /Applications/adt-bundle-mac-x86_64-20130917/sdk/platforms/android-19/android.jar

In other to resolve this I found this solution: Collect Preferences Failed by sunil. However when I attempted the solution found here:

I had the same problem, but I already resolved it now. Try the following steps

1 go Help | Install New Sofware...
2 select "Android Developer Tools Update Site - http://dl-  ssl.google.com/android/eclipse/".
3 press "Select All"
4 press "Finish"
Done

I get the following 'Problem Occurred':

I tried using https instead of http but I still get the problem. Can someone tell me whats wrong and how to resolve it please? It doesn't seem to cause any problems when running the application.


回答1:


http://developer.android.com/sdk/installing/installing-adt.html Here is the link to adt plugin Scroll down till you see a downloadable zip file of adt. Download it Unpack it And copy paste the files n folders of that zip file in to the eclipse folder If prompted for overwrite, select yes..
You will be good to go..




回答2:


While updating, deselect "contact all update sites". worked for me.

1 go Help | Install New Sofware...
2 select "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/".
3 press "Select All"
4 UNCHECK "contact all update sites"
5 press "Finish"

Cheers.




回答3:


In eclipse Help->install new software->put below URL inside work with URL ::https://dl-ssl.google.com/android/eclipse/




回答4:


deselecting "contact all update sites" also worked for me.



来源:https://stackoverflow.com/questions/20630446/installing-software-has-encountered-a-prob-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!