On Thu, Mar 19, 2009 at 11:29 PM, jammy <jammy.fivef...@gmail.com> wrote:

>
> i installed android in windows and checked it... the problem that i am
> facing is in windows eclipse R.java is created as soon as i create new
> project but in fedora 10 R.java is not created.. because of that it is
> showing error. "Erron while loading shared libraries:libncurses.so.
> 5:wrong ELF class:ELFCLASS64" This is error came after when i copied
> libncurses.so.5 into lib directory.
>

what, you manually copied "libncurses.so.5" into "lib" directory ?
Do you know exactly what you're doing ? The error message seems to indicate
that a 64-bit library is being loaded instead of a required 32-bit one.
Where did
you get this library that you "copied" ? what is "lib" exactly ?

On Ubuntu, the following will install 32-bit versions of many required
libraries:

apt-get install ia32-libs

There probably is something similar for your Linux distribution (and sorry,
we really don't
have time to check that ourselves) that will install the 32-bit ncurses
library properly at
a location that the system will be able to handle.

Mixed 32 and 64-bit Linux distributions are extremely messy and "copying"
libraries is
extremely prone to failure.


> before that it was showing "libz.so.1: cannot open shared object file:
> No such file or directory". I installed everything as it is given in
> installation page in android site..
>

the installation page is for Ubuntu, if you are on a different distribution,
you may need to
find a different package name to install. Apparently, you need the 32-bit
zlib package
installed.


>
> On Mar 20, 6:02 am, Xavier Ducrohet <x...@android.com> wrote:
> > it looks like you have a linux 64 bit only installation.
> > Please follow the Installation Notes for linux at the bottom ofhttp://
> developer.android.com/sdk/1.1_r1/installing.html
> >
> > Xav
> >
> > On Thu, Mar 19, 2009 at 4:06 AM, jammy <jammy.fivef...@gmail.com> wrote:
> >
> > > hello every one.. im new to android... i have installed android in
> > > eclipse.... every thing was going fine but at last when i gave path of
> > > android sdk it is giving error as ' adb version failed!' error while
> > > loading shared libraries:libncurses.so.5:wrong ELF class:ELFCLASS64.
> > > im not able to rectify this error.... please somebody do help me.....
> > > im waiting for the solution to this problem..... where i have gone
> > > wrong...  thanx in advance.....
> >
> > --
> > Xavier Ducrohet
> > Android Engineer, Google.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to