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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:41:00+00:00 2026-06-13T06:41:00+00:00

I have an app which contains a total of 10 projects: 3 java projects,

  • 0

I have an app which contains a total of 10 projects: 3 java projects, 6 Android projects, and one Android app project. I can build them in Eclipse without errors, but when I build them in Jenkins, the build fails during compilation of the last project.

Here are the shell commands that I’m using to do the build.

Just to be clear, DrawCard and CameraModule are libraries that are invoked by CC_library3.0.3, and CC_library3.0.3 is a library project invoked by MainApp.

android update lib-project -p ./DrawCard  -t "android-15"  
android update lib-project -p ./AppStar  -t "android-15"
android update lib-project -p ./CameraModule   -t "android-15"
android update lib-project -p ./CC_library3.0.3   -t "android-15" 
android update lib-project -p ./ISAd  -t "android-15"
android update lib-project -p ./Payment  -t "android-15"
android update project -p ./MainApp -t "android-15" -l ../CC_library3.0.3 -l ../ISAd -l ../Payment

echo 'source.dir=../android-vcard/src' > ./DrawCard/ant.properties
echo 'source.dir=../TianShu/src' > ./MainApp/ant.properties
echo 'source.dir=../Log4A/src' >> ./MainApp/ant.properties
cd ./MainApp
ant all clean debug

After those commands, when building MainApp, the process fails with this message:

[javac]Compiling 22 source files to /var/lib/jenkins/foobar/bin/classes
[javac]A.java : package a.b.c does not exist
....
[javac]B.java : can not find symble

.....
BUILD FAILED

I don’t understand why I’m getting this error. I checked the /bin folder of all 6 lib-projects. Each contains a classes.jar file. Why is this happening and what can I do about it?

  • 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-13T06:41:02+00:00Added an answer on June 13, 2026 at 6:41 am

    I don’t think that you can submit multiple libraries in the same call of android update project like you did. I think each entry of -l silently overwrites the previous ones.
    Try running the command once for each library instead:

    android update project -p ./MainApp -t "android-15" -l ../CC_library3.0.3
    android update project -p ./MainApp -t "android-15" -l ../ISAd
    android update project -p ./MainApp -t "android-15" -l ../Payment
    

    After that open your ./MainApp/project.properties and make sure you have the following entries:

    android.library.reference.1=../CC_library3.0.3
    android.library.reference.2=../ISAd
    android.library.reference.3=../Payment
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a database for my android app which contains static data and
I have an Android App which contains an external dependend jar library. This external
I have created a small WP7 app which contains one page which is dynamically
I have an app which contains a scrollview with several tableviews. Each tableview is
I've created an app which contains form and that have to filled up in
I have a need for a model(?) on my app which basically contains a
I have an object which contains models for my ASP.NET MVC web app. The
I have CoreData in my app, with an Entry class, which contains an NSOrderedSet
in my winforms app, I have a Queue which contains objects: Queue<MyObj> _queuedRows =
I have a J2EE app deployed as an EAR file, which in turn contains

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.