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

  • SEARCH
  • Home
  • 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 7962011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:12:45+00:00 2026-06-04T05:12:45+00:00

Post ADT 17, non-Android libraries need to be included either in the libs folders

  • 0

Post ADT 17, non-Android libraries need to be included either in the “libs” folders of the project or exported via the “Order and Export” tab in the build path. What’s the difference (if any) between importing a library externally:

External1

External2

And internally:

Internal2

Internal1

Is there an advantage to importing a library in a way that it is included in the “Android Dependencies” group?

  • 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-04T05:12:46+00:00Added an answer on June 4, 2026 at 5:12 am

    How do you add external jar dependencies into your Android project’s build path (internally or externally) make no difference on the actual build process (more specifically at compile and dex step), all it does is to tell build process where to looking for the required jars at compile and dex step.

    The Android Dependencies element shown in Java Build Path - Libraries window is just another abstract layer that ADT plugin used for managing/grouping jar dependencies. where your external jar files (in your case android-support-v4.jar) appears (inside or outside Android Dependencies) in that window makes no difference.

    Since r17, dependencies management has been much improved, and it is recommended to use libs/ directory store all jar dependencies (refer to you internal way), which is considered as a automation approach (as ADT plugin becomes more smarter now), see Revisions for ADT 17.0.0:

    New build features

    • Added feature to automatically setup JAR dependencies. Any .jar files in the /libs folder are added to the build configuration (similar to how the Ant build system works). Also, .jar files needed by library projects are also automatically added to projects that depend on those library projects. (more info)

    However, you can still use the old way (refer to you external way) if you prefer, which is considered as a manual approach (as ADT plugin was stupid before), see Recent Changes‎ for r17 Release:

    Important: If you are still referencing jar libraries manually instead of putting them under libs/ be aware of the following:

    • If the project is a Library project, these jar libraries will not be automatically visible to application projects. You should really move these to libs/

    • If the project is an application, this can work but you must make sure to mark the jar files as exported.

    Is there an advantage to importing a library in a way that it is included in the "Android Dependencies" group?

    Automation vs. Manual from dependency management perspective, automation is always considered as more errorless than manual in the world of computer science.

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

Sidebar

Related Questions

I use eclipse sometimes to build my android project(Using ADT 19). If i have
Every post has only one category, and i need to access category's name by
(post updated for working code) I've been trying to get my android app to
Post to wall from Android application... parameters.putString(app_id, mAppId); parameters.putString(picture, http://fbrell.com/f8.jpg); parameters.putString(name, Facebook Dialog); parameters.putString(caption,
I have ADT loaded onto classic Eclipse. I followed the steps from the Android
Post-release, I have made one small change to one form in our development site
post '/upload' do unless params[:file] && (tmpfile = params[:file][:tempfile]) && (name = params[:file][:filename]) return
Forged POST requests can be constructed by untrusted websites by creating a form and
First post. I've searched high and low for similar questions and have come up
This post from F# News states that F# can inline a function passed as

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.