我按照此链接为android安装Phonegap eclipse插件 http://wiki.phonegap.com/w/page/34483744/PhoneGap%20Eclipse%20PlugIn%20for%20Android
但它显示以下错误/消息。我试了几次,但我无法理解它显示的信息。
我应该怎么做才能修复它?需要你的建议。
感谢。
Cannot complete the install because of a conflicting dependency.
Software being installed: PhonegapForAndroid 1.2.4.201108181012 (com.mds.phonegapForAndroid.feature.group 1.2.4.201108181012)
Software currently installed: Eclipse SDK 3.5.0.I20090611-1540 (org.eclipse.sdk.ide 3.5.0.I20090611-1540)
Only one of the following can be installed at once:
Core Resource Management 3.5.0.v20090512 (org.eclipse.core.resources 3.5.0.v20090512)
Core Resource Management 3.5.2.R35x_v20091203-1235 (org.eclipse.core.resources 3.5.2.R35x_v20091203-1235)
Core Resource Management 3.5.1.R35x_v20090826-0451 (org.eclipse.core.resources 3.5.1.R35x_v20090826-0451)
Cannot satisfy dependency:
From: Phonegap for Android 1.2.4.201108181012 (com.mds.apg 1.2.4.201108181012)
To: bundle org.eclipse.core.resources 3.5.2
Cannot satisfy dependency:
From: PhonegapForAndroid 1.2.4.201108181012 (com.mds.phonegapForAndroid.feature.group 1.2.4.201108181012)
To: com.mds.apg [1.2.4.201108181012]
Cannot satisfy dependency:
From: Eclipse Platform 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ (org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ)
To: org.eclipse.core.resources [3.5.0.v20090512]
Cannot satisfy dependency:
From: Eclipse Project SDK 3.5.0.v20090423-7Q7bA7DPQ1SM6OYQ7wKYJhI-z-xZJCmLTBRhtZ0o61b1z (org.eclipse.sdk.feature.group 3.5.0.v20090423-7Q7bA7DPQ1SM6OYQ7wKYJhI-z-xZJCmLTBRhtZ0o61b1z)
To: org.eclipse.platform.feature.group [3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ]
Cannot satisfy dependency:
From: Eclipse SDK 3.5.0.I20090611-1540 (org.eclipse.sdk.ide 3.5.0.I20090611-1540)
To: org.eclipse.sdk.feature.group [3.5.0.v20090423-7Q7bA7DPQ1SM6OYQ7wKYJhI-z-xZJCmLTBRhtZ0o61b1z]
答案 0 :(得分:3)
无需在eclipse中安装phonegap。您需要将phonegap.jar添加到您的项目中并进行一些更改....阅读并... http://www.phonegap.com/start#android
答案 1 :(得分:2)
PhoneGap的AppLaud Eclipse插件至少需要Eclipse 3.6(Helios)。它不适用于3.5(伽利略)。该插件也适用于3.7(Indigo)。
确实,你可以解决没有插件的问题,但它使PhoneGap项目的启动变得更加容易。