This is very strange. I'm working on library projects right now and I have
no problem adding them through the UI.

Here's what you need to update default.properties

android.library=true # means the project is a library

android.library.reference.1=../basicLib  # means the project located at
../basicLib (relative to the main project) is a reference. the .1 is the
order. you can have has many as you want, just go with .2, .3, .4 ...etc


On Fri, Feb 18, 2011 at 4:27 PM, Nathan <[email protected]> wrote:

> On Feb 18, 12:53 pm, TreKing <[email protected]> wrote:
> >
> > While we're on the topic of the Library Project not working correctly, I
> did
> > followed those exact instructions and while I have not run into the
> problems
> > Bret has, I could not for the life of me add a Library as a reference
> using
> > the GUI. I select "Add", select the Library project, and nothing happens
> -
> > the dialog just closes as if I canceled the operation, no reference
> added.
> >
> > I tried the sample library project, removed the reference with the GUI
> (that
> > worked) and tried to add it back in - still nothing.
> >
> > Several hours, Google searchers, and punches to a wall later I figured
> out
> > that I could just edit the properties file of the project and that
> worked.
> >
> > This was using the latest SDK and tools as of about two weeks ago.
> >
> > Just wondering if this is a known issue of if I'm the only lucky one to
> hit
> > this?
> >
>
>
> Well, guess what.
>
> I just updated the tools and now I have this problem.
>
> My library projects were working before the updates. They stopped
> working. I took out the library references with the intention of
> adding them back in. I can't - a silent fail just like you described.
> What text did you use to add them in the .project file?
>
> I think there are some problems with library projects in these latest
> updates, whether they are acknowledged yet or not.
>
> Nathan
>
> --
> 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
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
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