How to solve "missing required library" error in Eclipse

1,759 views
Skip to first unread message

nmt8112

unread,
May 24, 2010, 5:36:14 PM5/24/10
to android-platform
Hi,

I want to play with Android platform but got the following error when
creating a new project for Android source code in Eclipse:

Project 'android' is missing required library: 'out/target/common/obj/
JAVA_LIBRARIES/google-framework_intermediates/javalib.jar'
Project 'android' is missing required library: 'out/target/common/obj/
JAVA_LIBRARIES/googlelogin-client_intermediates/javalib.jar'

Btw, I had successfully run make in mydroid directory. Below is the
content of JAVA_LIBRARIES directory:

####$ ls out/target/common/obj/JAVA_LIBRARIES/
android_stubs_current_intermediates/ framework_intermediates/
com.android.im.plugin_intermediates/

What was I missing?

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

rk

unread,
May 25, 2010, 5:41:48 AM5/25/10
to android-platform
I think there is something wrong with yout class path.

thanks
rk

nmt8112

unread,
May 25, 2010, 6:32:16 PM5/25/10
to android-platform
Thanks rk.

The problem is solved. The solution was to move from my 64bit laptop
to my 32bit desktop. I think Android source code is not working well
with x86_64 version of Ubuntu. Those libraries were not created during
compilation.

Regards,
nmt8112

Greg

unread,
Jun 24, 2010, 6:22:03 PM6/24/10
to android-...@googlegroups.com
nmt8112 <minhtuan2712@...> writes:

>
> Thanks rk.
>
> The problem is solved. The solution was to move from my 64bit laptop
> to my 32bit desktop. I think Android source code is not working well
> with x86_64 version of Ubuntu. Those libraries were not created during
> compilation.
>
> Regards,
> nmt8112
>

> On May 25, 7:41 pm, rk <raj.10...@...> wrote:
> > I think there is something wrong with yout class path.
> >
> > thanks
> > rk
> >

> > On May 25, 2:36 am, nmt8112 <minhtuan2...@...> wrote:
> >
> >
> >
> > > Hi,
> >
> > > I want to play with Android platform but got the following error when
> > > creating a new project for Android source code in Eclipse:
> >
> > > Project 'android' is missing required library: 'out/target/common/obj/
> > > JAVA_LIBRARIES/google-framework_intermediates/javalib.jar'
> > > Project 'android' is missing required library: 'out/target/common/obj/
> > > JAVA_LIBRARIES/googlelogin-client_intermediates/javalib.jar'
> >
> > > Btw, I had successfully run make in mydroid directory. Below is the
> > > content of JAVA_LIBRARIES directory:
> >
> > > ####$ ls out/target/common/obj/JAVA_LIBRARIES/
> > > android_stubs_current_intermediates/ framework_intermediates/
> > > com.android.im.plugin_intermediates/
> >
> > > What was I missing?
> >
> > > --
> > > You received this message because you are subscribed to the Google Groups
"android-platform" group.

> > > To post to this group, send email to android-platform@...


> > > To unsubscribe from this group, send email to android-

platform+unsubscribe@...


> > > For more options, visit this group
athttp://groups.google.com/group/android-platform?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
"android-platform" group.

> > To post to this group, send email to android-platform@...
> > To unsubscribe from this group, send email to android-platform+unsubscribe
<at> googlegroups.com.


> > For more options, visit this group athttp://groups.google.com/group/android-
platform?hl=en.
>

I'm running a 32-bit version of Ubuntu on a 64-bit dual-core processor machine
and getting the same error.
Do I need to switch to a 32-bit machine?

Also, is this just an Eclipse issue? I can run the emulator, so it seems that it
compiled successfully.

Thanks,
Greg

Reply all
Reply to author
Forward
0 new messages