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 9167915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:30:25+00:00 2026-06-17T15:30:25+00:00

I have several .jar files I want to reference into my Android project, and

  • 0

I have several .jar files I want to reference into my Android project, and I have the sources for them. The point is that in order to build .jar‘s from sources, I have to use Maven – the build process is pretty complicated, and as I am new to both Android and Maven, I am trying to reuse the script for building these libraries that was written before me, and do not add the sources directly.

So my intentions were pretty simple:

  1. Build the .class files via Maven script
  2. Compile .jar from these .class files via jar tool in the command line
  3. Reference these libraries from my android project.

But as soon as I copy .jar files to the libs folder in the android project – I cannot add sources on them – and I cannot debug those.

Looks like this issue has been several times on SO here or here. Still nothing works for me. .properties file doesn’t seem to be recognized by Eclipse, when I go to Java Build Path – the path to the sources is marked as (None) and it is not modifiable, and if I reference the libraries like it was before ADT17 (adding a custom directory like lib with no s in the end, and referencing these jars as external libraries) – this fixes the debugging, but the compiler doesn’t seem to include all the source code due to this

I’ve read that should be fixed in ADT20, but I am using ADT21 and still no luck. Any usable workaround of this?

  • 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-17T15:30:26+00:00Added an answer on June 17, 2026 at 3:30 pm

    Finally did it! That still looks like a bug in ADT. The only solution I found is to reference the libs as it was before ADT17 (put them into the separate lib folder without ‘s’, add them to build path, and mark the checkboxes in the Configure Build Path -> Order and Export).

    The thing I was missing is actually marking the checkboxes – for some reason when you change anything in that dialog, the checkboxes are becoming unmarked. I guess I just didn’t notice that…

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

Sidebar

Related Questions

I have a project divided into several sub-modules (each of them are jar libraries):
I have a codebase that I want to produce several deliverable jar files, each
I have several libraries that I want to import into my project. They are
I have a product consisting of several plugins that I want to build. The
If I have a java project that consists of several different types of files
I have a jar application that contains several reports (files .jasper ) and the
I have several groups of .jar file and want to put them in different
I have several Java applications. All of them have external jar dependencies and also
I have several xml files with different node structure. I want to extract xml
I have several xml files that are formated this way: <ROOT> <OBJECT> <identity> <id>123</id>

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.