Library Projects support ?

by MobDev » Fri, 01 Oct 2010 15:28:27 GMT


Sponsored Links
 Hi,
I have been trying to work with a Library Project, just like it's
mentioned in the documentation :
 http://developer.android.com/guide/developing/eclipse-adt.html 

I have created my Library Project as a Android 1.6 Project and now I
have been trying to reference to it out of my second project (also an
Android 1.6 project) and I am getting the following error :
"Target 'Android 1.6' does not support building project with
libraries."

The documentation states that supported platfroms are the 1.5 onwards
(with exception for the 2.0 & 2.0.1) and that the second project
should have the same platform or higher (in my case the same)...

So any idea what's ahppening here ? And most importantly : any idea
how to solve this ?
Thx in advance !

--



Library Projects support ?

by Xavier Ducrohet » Sun, 03 Oct 2010 01:58:10 GMT


 The link you referenced shows which version of the 1.6 SDK component
supports library projects
( http://developer.android.com/guide/developing/eclipse-adt.html #libraryReqts).

I'm guessing you have an older version. rev 3 (for 1.6) is needed. Use
the SDK updater to get an update to the 1.6 SDK component. (see
 http://developer.android.com/sdk/adding-components.html for more info )

Xav



>


Sponsored Links


Library Projects support ?

by MobDev » Mon, 04 Oct 2010 21:53:56 GMT


 Actually, as I mentioned in my post, it's already a 1.6 project... I
can only make a 1.6 project if I have the SDK that supports it rigth ?
Actually my SDK has been updated up to 2.2
Anyhow, after changing the Project Library (and the project using the
library) to a 2.2 project it started working out of the blue...





> >



Library Projects support ?

by Xavier Ducrohet » Tue, 05 Oct 2010 05:22:00 GMT


 Yes you can only make a 1.6 project if you have the SDK component for
API 4 (==1.6). However we do update those components sometimes and we
did update them to add support for library projects. Looks like you
have an older version of the 1.6 component (2.2 was released at the
same time as the feature so it supports it in rev1).

Follow the link I've given you to update your 1.6 SDK component.





>> >



Other Threads

1. Layout related

How to add buttons that sticks to the bottom of  layout and rest part of
layout is scrollable (Same as add event of calendar)?

-- 

2. Syntax to reference a drawable from a library project

Hi,

What's the syntax to reference a drawable from a library project?

My library project package name is: cat.joanpujol.eltemps.android.base
And I tried to reference that way:
<ImageButton
android:src="@cat.joanpujol.eltemps.android.base:drawable/minus"

But it doesn't works. Is t'hat the way?

A lot of thanks in advance

-- 

3. monkeyrunner with different android versions

4. DalvikVm issue

5. ASK : signal motorola xt720 sering hilang

6. Help for installig android sdk tool

7. code on how to detect where a person is using android