Showing posts with label Problems. Show all posts
Showing posts with label Problems. Show all posts

March 25, 2010

Solving my problem with Eclipse !!! [SOLVED]

Last Update 25/3 21:56 - problem solved

In my efforts to solve my problems with Eclipse and Android working on my Ubuntu Linux 10.04 lucid lynx Beta 1(and earlier Alphs 3) I decided to remove Eclipse completely using synaptic and marking eclipse and its components for "Complete Removal".

I deleted the workspaces I had lying around and I went on a hunt for any eclipse-related (config) files with # sudo find / -name *eclips*

Apart from files in ~/.mozilla/eclipse/ (permissions.sqlite, places.sqlite, places.sqlite-journal and prefs.js) that I dare not delete and some files in Trash (that I am not able to empty, as Nautilus hangs when opening Trash (bug #544859 for which I need to do a valgrind run - will do that tonight)) I seem to be free of eclipse-related files.

So I will once more try to install eclipse from the Ubuntu repositories with

# sudo apt-get install eclipse

and then pray for the best. See you at the other side ;-)

Update (13:48):

Excerpt from the above # sudo apt-get install eclipse :


0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
Need to get 230MB of archives.
After this operation, 361MB of additional disk space will be used.

Good thing that the University 'net connection is behaving today - doing from ~180 KBytes/s and upwards :-)

Update (13:53)
Well. Still having the same problems. Sigh. Eclipse looks for https://dl-ssl.google.com/android/eclipse/ which it does not find. Now what?

Update (21:56)
It seems that there was already bug filed in Launchpad: eclipse unable to 'install new software' (bug #541482). Somehow I just missed it :-s

It is a problem with the network stack, and if you force java to use the IPv4 stack by adding the following to your eclipse (when starting it):


-vmargs -Djava.net.preferIPv4Stack=true

things are back to normal. Great! Problem Solved!

PS.
thus having the line


eclipse -vmargs -Djava.net.preferIPv4Stack=true

in the launcher does the trick!

March 22, 2010

Problems with Eclipse and ADT (Android Development Tools)

I am having a few problems since my upgrade to Ubuntu 10.04 (lucid lynx), working in Eclipse. I cannot install the Android Development Tools (ADT). I cannot even get in contact with the Eclipse repositories. I have tried both the Ubuntu package of Eclipse and the .tar ball from eclipse.org. It makes no difference.

I seem to have no other difficulties with my lucid lynx, other than that WINE does not have a lucid lynx ppa (as far as I can see). But I am still wondering if it is something related to lucid lynx that makes me unable to get to the Eclipse and ADT repositories. So I am downloading an ISO image of Ubuntu 9.10 Karmic Koala and will run that in VirtualBox. Unfortunately the network at my university is quite slow today. I might actually get better transfer speeds through my cell phone, but I need to keep my data usage down - I only have 300 MB/month as I am trying to cut costs.

Googling bug reports on this I have found some on Eclipse crashing on (an earlier) lucid lynx alpha due to xulrunner being buggy. This was connected to the auto-completion feature in Eclipse. If this is a related bug, I am not sure.

I will update this post as I get more info. I am still downloading karmic koala.

UPDATE (12:05):
I have downloaded the ADT 0.9.6 .zip file but the install fails due to missing org.eclipse.wst.sse.core - so I still need to get the Eclipse part right.

UPDATE (23/3 22:15 CET)
I reinstalled Ubuntu with lucid lynx beta 1. Still no go. I cannot even get eclipse to access its own update repositories. Veeeery frustrating!