ubuntu10.04上android环境安装 “org.eclipse.gef 0.0.0”问题解决

 

今天,在ubuntu10.4平台在安装AD发生错误:


Cannot complete the install because one or more required items could not be found.   Software being installed: Android Development Tools 0.9.7.v201005071157-36220 (com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220)   Missing requirement: Android Development Tools 0.9.7.v201005071157-36220 (com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220) requires 'org.eclipse.gef 0.0.0' but it could not be found


查了好多帖子也不能解决,最后在一个帖子上说要先安装GEF和WST,我抱着死 马当成活马医的心态试了试,结果成了!


打开eclipse:

windows->preferences->Install/Update->Avai...

选中或添加以下两个网址,

         GEF Update Site :  http://download.eclipse.org/tools/gef/updates/releases/

         galileo  :  http://download.eclipse.org/releases/galileo

进入help->Install new software,先选择GEF进行升级,(应该只升级对应版本即可,不过我把所有的都选了)

                                                         再升级WST,这个在galileo的最后面,耐心找一下吧,而且galileo加载也会很慢,稍等即可。


期间按照提示,选择重启或OK,应该会很顺利地。



最后 安装好了,建一个helloandroid试试,建个2.2的avd,以下是test结果


 

[2010-09-04 09:55:56 - HelloAndroid] ------------------------------

[2010-09-04 09:55:56 - HelloAndroid] Android Launch!

[2010-09-04 09:55:56 - HelloAndroid] adb is running normally.

[2010-09-04 09:55:56 - HelloAndroid] Performing miumiu.helloAndroid.helloAndroid activity launch

[2010-09-04 09:55:56 - HelloAndroid] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'android2.2'

[2010-09-04 09:55:56 - HelloAndroid] WARNING: Application does not specify an API level requirement!

[2010-09-04 09:55:56 - HelloAndroid] Device API version is 8 (Android 2.2)

[2010-09-04 09:56:02 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'

[2010-09-04 09:56:02 - HelloAndroid] Installing HelloAndroid.apk...

[2010-09-04 09:56:40 - HelloAndroid] Success!

[2010-09-04 09:56:40 - HelloAndroid] Starting activity miumiu.helloAndroid.helloAndroid on device 

[2010-09-04 09:56:42 - HelloAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=miumiu.helloAndroid/.helloAndroid }



最后,祝大家安装ADT顺利


你可能感兴趣的:(android)