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. how i can fix the orientation of application on the screen

hi



2010/3/2 James Wang <jameswangc...@gmail.com>

> 

2. Developing android apps that auto-update/install

Hi,

I'm quite new to Android development. I need add auto-update
functionality to an application i.e. the application will detect that
there is a new version of itself available and then update itself over
the web. Are there any resources explaining how to approach this? I've
been searching for a while but haven't come across anything concrete
yet. Thanks in advance.

H.

-- 

3. Use of SQLiteOpenHelper class for using SQLite

4. How to handle a cloned service from paid and free app?

5. Can't send MMS after update eclair

6. What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

7. What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?