Fedora 14+Eclipse3.6.1+ADT搭建andriod開發環境

ADT總是安裝出錯——通過eclipse安裝ADT順利完成,但是在about對話框中看不到ADT,但能看到DDMS和HV。可以看到ADT文件已經安裝,並且重裝ADT時會報錯“已經安裝”。

 

參考http://forums.fedoraforum.org/showthread.php?t=254296,問題解決

 

以下摘自上述網頁:

 

 

ok I resolved the problem. Seems like I messed up when i uninstalled something tomcat5 some package. (which has a softlink to the jar file causing problem)

I went to /usr/lib64/eclipse/plugins and

lrwxrwxrwx. 1 root root 39 Nov 12 08:03 javax.servlet.jsp_2.0.0.v200806031607.jar -> /usr/share/java/tomcat5-jsp-2.0-api.jar
when i do 
`vim javax.servlet.jsp_2.0.0.v200806031607.jar`
it was "unreadable", basically that's why it was stopping at this jar and whole installation fails.

sudo yum install tomcat5-servlet-2.4-api-javadoc.noarch tomcat5-jasper-eclipse.noarch tomcat5-servlet-2.4-api.noarch jakarta-commons-collections-tomcat5.x86_64 tomcat5-jasper-javadoc.noarch tomcat5-jasper.noarch tomcat5-jsp-2.0-api-javadoc.noarch tomcat5-servlet-2.4-api-javadoc.noarch tomcat5.noarch tomcat5-admin-webapps.noarch tomcat5-common-lib.noarch tomcat5-jasper-eclipse.noarch tomcat5-jsp-2.0-api.noarch tomcat5-server-lib.noarch tomcat5-servlet-2.4-api.noarch tomcat5-webapps.noarch

"maybe some tomcat* packages here are unnceccessary", but now i get over this !

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章