Hi,

I had the exact same problem.

here is what i did:

// look which keytool is first in path
# which keytool
> /usr/bin/keytool

// this is just a link, so let's look deeper
# ls -al /usr/bin/keytool
> lrwxrwxrwx 1 root root 39 2008-09-24 21:41 /usr/bin/keytool -> 
> /etc/alternatives/keytool

// again just a link
# ls -al /etc/alternatives/keytool
> lrwxrwxrwx 1 root root 37 2008-06-10 08:27 /etc/alternatives/keytool -> 
> /usr/lib/jvm/java-gcj/jre/bin/keytool

here is the problem, the keytool in path is the one from the gnu java
vm.

here my solution:
rm /etc/alternatives/keytool
ln -s /usr/lib/jvm/*some-sun-vm*/bin/keytool /etc/alternatives/keytool
rm -rf /home/myhome/.android
eclipse -> and start working...

I think this is a Ubuntu issue and there is a nicer way to change the
keytool alternative, but this worked for me.


/Mitschi



On 31 Aug., 11:03, nazurro <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My email showed up in the discussion a bit late, after Megha Joshi:s
> suggestion to try java 5 instead I got it to work, together with
> deleting the debug.keystore file (which I had tried before).
>
> So I'm good for now. Thx :)  Going for the Notepad tutorial as we
> speak.
>
> /Tobias
>
> On 30 Aug, 23:49, David Given <[EMAIL PROTECTED]> wrote:
>
> > nazurro wrote:
> > > Hello,
>
> > > I have the EXACT same problem, want to try developing for Android but
> > > I just can't get it to work:
>
> > > Ubuntu 8.04
> > > Eclipse 3.3.2
> > > JVM: java-6-sun
>
> > > I would be very happy for suggestions.
>
> > Beats me. Sorry. (That is, in fact, almost exactly my setup --- I'm
> > using Eclipse 3.4.)
>
> > The only thing I can think of is that on my system, when it worked the
> > debug.keystore file was being created from the command line and when it
> > failed it was being created via Eclipse; so you might be interesting to
> > have a try recreating your keystore from the command line... but I'm
> > afraid I don't know how. And at this point I'm a little adverse to
> > playing with my system and breaking it again!
>
> > --
> > ┌─── dg@cowlark.com ─────http://www.cowlark.com─────
> > │
> > │ "All power corrupts, but we need electricity." --- Diana Wynne Jones,
> > │ _Archer's Goon_
>
> >  signature.asc
> > < 1KViewDownload
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to