Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9320933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:45:25+00:00 2026-06-19T03:45:25+00:00

Ok I know how to set an Android project as a library project and

  • 0

Ok I know how to set an Android project as a library project and adding it to another Android project as a library reference.

However after I did this, I removed the checkmark “Is library”, so the first project wasn’t a library project and could be run as a normal Android project.

The second project referencing the first project is also working nicely and I can change the first project and still use it directly in the second project.

So why the big fuss with setting a project as a library, when I can remove the checkmark afterwards and the reference is still working? I don’t get that – can anyone explain this?

I’m using Eclipse 3.7 (Indigo) together with the ADT plugin version 21.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T03:45:26+00:00Added an answer on June 19, 2026 at 3:45 am

    So why the big fuss with setting a project as a library, when I can remove the checkmark afterwards and the reference is still working? I don’t get that – can anyone explain this?

    A general rule among programmers is “be liberal in accepting input and be conservative in generating output”. In this case, the build system is being liberal and is using your first project as a library despite it not presently being marked as a library.

    However:

    • You cannot set up the initial host->library relationship without “Is Library” checked in Eclipse

    • You may not be able to set up the initial host->library relationship via android update lib-project without the equivalent setting in project.properties (it might work — I just haven’t tried it)

    • You should not assume that the liberal interpretation of the input will be reliable over the long haul, as future versions of the tools may have need to check that flag and enforce its setting

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sudoko Android requires .class compatibility set to 5.0. Please fix project properties. What this
We all know to set canvas's context property like this: ctx.textBaseline = top; ctx.shadowColor
Its posible to do this in actionbar sherlock? I know how set the icons
This question is based off of this previous question of mine: Android - Set
I want to know how to set an android service that listen to a
I set up an SVN repository for my Android project the wrong way and
For my first and most awesomest Android project, I want to create a home
I know this kind of question has been asked before, for example here: Android:
I want to set the background of the standard TextView in an Android project
I was trying to make another sample from SwipeyTabsSampleActivity developed in android-playground project Here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.