On Fri, Mar 2, 2012 at 3:36 PM, Mark Murphy <[email protected]> wrote:

> On Fri, Mar 2, 2012 at 5:30 PM, Mark Phillips
> <[email protected]> wrote:
> > I have an Android project, which is a library.
>
> Is this a true Android library project
> (
> http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject
> )?
>
> Yes.

>  > * the library project is in the eclipse build path as a project
>
> Yes, but did you add it to Eclipse as an Android library project
> (
> http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject
> )?
>

Nope, this was my problem. Thanks for the information!!

>
> > * the manifest.xml file has this inside the application tag -
> >           <uses-library
> > android:name="com.markupartist.android.widget.ActionBar"
> >               android:required="true" />
>
> Delete this, unless your "library" is really a firmware add-on that
> you have built into custom firmware (in which case, you're outside the
> scope of this list).
>

I was looking at the manifest docs and found library, and not a lot of
clear explanation, so I tried it.

>
> > I also
> > tried putting the ActionBar library as a jar in the build path, and I get
> > the same error.
>
> JARs don't have resources.
>

I discovered that by looking in the jar file.

Thanks!!!

Mark

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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