Android plugin jem requires com.ibm.icu Ubuntu 10.04

Bug #586945 reported by deader69
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

Trying to install Android plugins, but cannot satisfy it's package requirements.

Seems the android plugin requires wst, which requires jem, which requires com.ibm.icu.

Not sure what packages I need from what repositories; have tried numerous combinations w/o success.

After much googling, I've yet to find anyone using Eclipse for Android dev on Ubuntu 10.04.
FYI, I can compile android apps with ant from the command line, and run the editor.

But try as I might, I can't seem to satisfy plugin requirements for Google's Android
  Developer Tools
    Android DDMS 0.9.7.v201005071157-36220
    Android Development Tools 0.9.7.v201005071157-36220

from
  https://dl-ssl.google.com/android/eclipse

So many permutations, I don't know what is required.

My linux version:
  Ubunto 10.04 Lucid Lynx

My Eclipse version:
  Galileo
  Version: 3.5.2
  Build id: M20100211-1343
  eclipse.buildId=M20100211-1343
  java.version=1.6.0_18
  java.vendor=Sun Microsystems Inc.
  BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
  Command-line arguments: -os linux -ws gtk -arch x86

Repositories:
dl google plugin 3.5 http://dl.google.com/eclipse/plugin/3.5 Enabledeclipse datatools http://download.eclipse.org/datatools/updates Enabled
eclipse galileo releases http://download.eclipse.org/galileo/releases/ Disabled
Eclipse Webtools http://download.eclipse.org/webtools/updates Enabled
EPP Packages Repository http://download.eclipse.org/technology/epp/packages/galileo Enabled
Galileo http://download.eclipse.org/releases/galileo/ Enabled
gatech http://www.gtlib.gatech.edu/pub/eclipse/releases/ganymede/site.xml Enabled
gef (graphics edit framework) needed for droid http://download.eclipse.org/tools/gef/updates/releases Enabled
gmf http://download.eclipse.org/modeling/gmf/updates/releases/ Enabled
google android eclipse https://dl-ssl.google.com/android/eclipse Enabled
modeling emf http://download.eclipse.org/modeling/emf/updates/releases/ Enabled
Mylyn for Eclipse 3.4 and 3.5 http://download.eclipse.org/tools/mylyn/update/e3.4 Enabled
subclipse.tigris.org/update_1.6.x http://subclipse.tigris.org/update_1.6.x Enabled
The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.5 Enabled

Error log output below:

Error
Fri May 28 11:01:16 PDT 2010
Cannot complete the install because one or more required items could not be found.
Error
Fri May 28 11:01:16 PDT 2010
Cannot satisfy dependency:
Error
Fri May 28 11:01:16 PDT 2010
To: org.eclipse.wst.common_core.feature.feature.group [3.0.4.v200811200248-7C7_EVNE_EkMNtRvY4V6o0]
Error
Fri May 28 11:01:16 PDT 2010
From: WST Common UI 3.0.4.v200811200248-7C78ELhE8VrRVqtHp4iT8PuSwZ5W (org.eclipse.wst.common_ui.feature.feature.group 3.0.4.v200811200248-7C78ELhE8VrRVqtHp4iT8PuSwZ5W)
Error
Fri May 28 11:01:16 PDT 2010
Cannot satisfy dependency:
Error
Fri May 28 11:01:16 PDT 2010
To: org.eclipse.jem.util [2.0.100.v200805140020]
Error
Fri May 28 11:01:16 PDT 2010
From: WST Common Core 3.0.4.v200811200248-7C7_EVNE_EkMNtRvY4V6o0 (org.eclipse.wst.common_core.feature.feature.group 3.0.4.v200811200248-7C7_EVNE_EkMNtRvY4V6o0)
Error
Fri May 28 11:01:16 PDT 2010
Missing requirement: Java EMF Model Utilities 2.0.100.v200805140020 (org.eclipse.jem.util 2.0.100.v200805140020) requires 'bundle com.ibm.icu [3.8.1.1,4.0.0)' but it could not be found
Error
Fri May 28 11:01:16 PDT 2010
Software currently installed: WST Common UI 3.0.4.v200811200248-7C78ELhE8VrRVqtHp4iT8PuSwZ5W (org.eclipse.wst.common_ui.feature.feature.group 3.0.4.v200811200248-7C78ELhE8VrRVqtHp4iT8PuSwZ5W)
eclipse.buildId=M20100211-1343
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

Error
Fri May 28 10:59:43 PDT 2010
Transfer Exception

java.io.IOException: Stream Closed
 at java.io.FileOutputStream.writeBytes(Native Method)
 at java.io.FileOutputStream.write(FileOutputStream.java:297)
 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
 at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
 at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.handleReceivedData(AbstractRetrieveFileTransfer.java:209)
 at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:141)
 at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

eclipse.buildId=M20100211-1343
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

Error
Fri May 28 10:56:16 PDT 2010
Unable to load the repository http://download.eclipse.org/eclipse/updates/3.5

org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at http://download.eclipse.org/eclipse/updates/3.5.
 at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:380)
 at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:606)
 at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
 at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88)
 at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.loadMetadataRepository(ProvisioningUtil.java:88)
 at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMetadataRepositoryManager.doLoadRepository(QueryableMetadataRepositoryManager.java:55)
 at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadRepository(QueryableRepositoryManager.java:195)
 at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadAll(QueryableRepositoryManager.java:108)
 at org.eclipse.equinox.internal.p2.ui.dialogs.DelayedFilterCheckboxTree$9.run(DelayedFilterCheckboxTree.java:225)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 586945] [NEW] Android plugin jem requires com.ibm.icu Ubuntu 10.04

deader69 wrote:
> Public bug reported:
>
> Binary package hint: eclipse
>
> Trying to install Android plugins, but cannot satisfy it's package
> requirements.
>
> Seems the android plugin requires wst, which requires jem, which
> requires com.ibm.icu.
>
> Not sure what packages I need from what repositories; have tried
> numerous combinations w/o success.
>
> After much googling, I've yet to find anyone using Eclipse for Android dev on Ubuntu 10.04.
> FYI, I can compile android apps with ant from the command line, and run the editor.
>
> But try as I might, I can't seem to satisfy plugin requirements for Google's Android
> Developer Tools
> Android DDMS 0.9.7.v201005071157-36220
> Android Development Tools 0.9.7.v201005071157-36220
>
> from
> https://dl-ssl.google.com/android/eclipse
>
> So many permutations, I don't know what is required.
>
>
> My linux version:
> Ubunto 10.04 Lucid Lynx
>
> My Eclipse version:
> Galileo
> Version: 3.5.2
> Build id: M20100211-1343
> eclipse.buildId=M20100211-1343
> java.version=1.6.0_18
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
>
> Repositories:
> dl google plugin 3.5 http://dl.google.com/eclipse/plugin/3.5 Enabledeclipse datatools http://download.eclipse.org/datatools/updates Enabled
> eclipse galileo releases http://download.eclipse.org/galileo/releases/ Disabled
> Eclipse Webtools http://download.eclipse.org/webtools/updates Enabled
> EPP Packages Repository http://download.eclipse.org/technology/epp/packages/galileo Enabled
> Galileo http://download.eclipse.org/releases/galileo/ Enabled
> gatech http://www.gtlib.gatech.edu/pub/eclipse/releases/ganymede/site.xml Enabled
> gef (graphics edit framework) needed for droid http://download.eclipse.org/tools/gef/updates/releases Enabled
> gmf http://download.eclipse.org/modeling/gmf/updates/releases/ Enabled
> google android eclipse https://dl-ssl.google.com/android/eclipse Enabled
> modeling emf http://download.eclipse.org/modeling/emf/updates/releases/ Enabled
> Mylyn for Eclipse 3.4 and 3.5 http://download.eclipse.org/tools/mylyn/update/e3.4 Enabled
> subclipse.tigris.org/update_1.6.x http://subclipse.tigris.org/update_1.6.x Enabled
> The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.5 Enabled
>
>
> Error log output below:
>
>
> [...]
> Fri May 28 11:01:16 PDT 2010
> Missing requirement: Java EMF Model Utilities 2.0.100.v200805140020 (org.eclipse.jem.util 2.0.100.v200805140020) requires 'bundle com.ibm.icu [3.8.1.1,4.0.0)' but it could not be found
> Error
> [...]

com.ibm.icu is installed[1], the problem is that the plugin/feature you
are installing[2] has version restrictions that finds 4.0.1 to "high".

[1] /usr/lib/eclipse/plugins/com.ibm.icu_4.0.1.v20100122.jar

[2] org.eclipse.jem.util

>
> ** Affects: eclipse (Ubuntu)1
> Importance: Undecided
> Status: New
>
>
> ** Tags: 10.04 adt android ibm icu jem lucid lynx plugin ubuntu
>

~Niels

Revision history for this message
deader69 (deader69) wrote :

Niels,

Any workaround? Can I install an older version of ibm.icu?
If so, how?

Seems like I can install packages either from within Eclipse (Help > Install New Software)
...or from System > Synaptic Package Manager.
...or from Applications > Ubuntu Software Center
...or from System > Hardware Drivers, for some things.

Getting a bit off-topic here, but I'm a bit confused about the interrelationship between all these pieces.

Are they all built upon the same 'apt-get' command-line tool?

The Eclipse package manager seems much less 'intelligent' about dependencies than the Ubuntu tools.
It must have it's own dependency mechanism, which unfortunately takes minutes and several dialog
boxes before returning 'failure' :-(.

Thanks in advance for any advice.
Need to get the Android plugin working, cant' find any definitive info on the internet.
dave

Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 586945] Re: Android plugin jem requires com.ibm.icu Ubuntu 10.04

deader69 wrote:
> Niels,
>
> Any workaround? Can I install an older version of ibm.icu?
> If so, how?
>

Hi again

You *may* be able to install an older version by downloading it from [1]
and putting it in /usr/lib/eclipse/plugins/ - (close eclipse before
doing this).

> Seems like I can install packages either from within Eclipse (Help > Install New Software)
> ...or from System > Synaptic Package Manager.
> ...or from Applications > Ubuntu Software Center
> ...or from System > Hardware Drivers, for some things.
>
> Getting a bit off-topic here, but I'm a bit confused about the
> interrelationship between all these pieces.
>
> Are they all built upon the same 'apt-get' command-line tool?
>

Synaptic and "Ubuntu Software Center" are as I recall APT front-ends, I
would not be surprised if the "Hardware Drivers" thing is as well.

> The Eclipse package manager seems much less 'intelligent' about dependencies than the Ubuntu tools.
> It must have it's own dependency mechanism, which unfortunately takes minutes and several dialog
> boxes before returning 'failure' :-(.
>

Eclipse has its own system, though I am not sure it is less intelligent.
It is just designed for a different thing. Unlike APT, the Eclipse
install is designed to allow multiple versions of the same software to
be installed.

One of the reason why APT may seem faster is that it creates a
machine-dependent cache, which allows it to "map" its cache into memory
and repair a few pointers.

> Thanks in advance for any advice.
> Need to get the Android plugin working, cant' find any definitive info on the internet.
> dave
>

~Niels

[1] http://download.eclipse.org/tools/orbit/downloads/drops/R20100114021427/

Revision history for this message
deader69 (deader69) wrote :

Niels,

Thanks for all the help and info. You can close this bug!

I un-installed Eclipse (and some other packages), then re-installed Eclipse by simply downloading and unzipping it, and everything worked perfectly.

I'm not sure how I installed Eclipse the first time, maybe from Synaptic. Whatever I did, didn't work, but re-doing everything fixed whatever problem there was. For anyone else out there, here's how to do it:

As described in
  http://onthefencedevelopment.com/?p=455
I just downloaded and unzipped from
  http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR2/

And here’s how to download an .apk to a physical device:
  http://www.gubatron.com/blog/2010/05/28/solved-eclipse-cant-see-my-android-device-on-ubuntu

At first I was only getting ???????? showing for the Droid phone.
Running the adb commands as sudo seemed to make it all work.
I never even bothered with the /etc/udev/rules.d/51-android.rules file.

Cheers,
dave

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
status: New → Triaged
Revision history for this message
dino99 (9d9) wrote :

Closing that outdated report as EOL has been reached long time ago

Changed in eclipse (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.