eclipse and android

Hello all,

I have installed Eclipse on to my openSUSE 11.2 and after that I wanted to install the android plugin but I cannot do that. I get the following errors:

Cannot complete the request. See the details.
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.junit/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.launching/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.gef/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.junit.runtime/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.junit/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.launching/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.junit.runtime/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.jdt.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.gef/0.0.0

Do you experience the same issues? Is there any workaround?

I had the same problem. Here is what I did to get it to work. It’s not elegant, but it works.

I uninstalled/deleted Eclipse (all five or so sub-packages too) through YaST2 (Install Software link).

Downloaded JEE version of Galileo from

Eclipse downloads - mirror selection

It unzips the binary, so no installation needed. (It worked fine from my /home/Documents folder

Continue with instructions at ADT Plugin for Eclipse | Android Developers

You have to add the ganymede update site to automatically fetch dependencies. There’s probably a FAQ on the android site about this.

However I switched to galileo (3.5) for other reasons including a failure to correct install another set of plugins in ganymede (3.4). Also because ganymede’s old, there really should be a package for galileo in software.opensuse.org/search, but it doesn’t matter too much because the Linux package from eclipse.org is pretty generic and works for all distros.

I think that if you install galileo, it automatically includes the updates site (equivalent of an update repo in the eclipse world I guess) and therefore will solve the dependency problem. So yeah, I would say +1 for galileo.

Thanks a lot! It worked!

Still I do not understand why yast installed the old eclipse version? Will the repository will be updated with the new version?

Because that’s the latest that openSUSE provides. It’s a bit out of date in that department.

Will 11.3 have the required up-to-date version?

No idea, I’m not a dev.

Hi !
I just read this:
Eclipse instalando el plugin de Android (ADT) en Linux « Invasión Tux

It’s in spanish but i found out that if you have eclipse 3.4 in opensuse 11.2
it works if you replace the

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

for

Ganymede – http://download.eclipse.org/releases/ganymede/

And Voila’

Hope it works for everyone.

Thanks, had the same problem.

Had to start eclipse with root to install additional packages.
-> kdesu eclipse

Finally it didn’t work with gaymende. So I downloaded current binaries from eclipse.org and ran it from user directory.

BTW: Had to wait very long until the emulator had booted (thought it didn’t work at first)

thanx ken_yap, worked for me (http://download.eclipse.org/releases/ganymede/). :slight_smile: btw there is no mention in the installation instructions but I didn’t check the faq. :open_mouth:

cheers
aztrix