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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:33:52+00:00 2026-05-24T04:33:52+00:00

After updating my sdk tools I cannot build my project from the command line.

  • 0

After updating my sdk tools I cannot build my project from the command line.

I have been using the steps on the Managing Projects from the Command Line on the Android Developers site to build using ANT. My project references another library project, so I’ve been using:

android update lib-project --target <target_ID> 
                           --path path/to/your/project
                           --library path/to/library_projectA

to update my default.properties, local.properties and build.xml files, and ant.bat build.xml to build the .apk. This has worked without any problems for some time.

Recently I updated my sdk tools to rev 10, platform-tools rev 3. The first thing I ran into is that it seems the --library flag is missing. I noticed the ‘update project’ now has a --library option, so I assume I should be using that command now to update projects that reference libraries.

Problem is that although the default.properties, local.properties and build.xml files all look good for the library and the application, running ant.bat build.xml on the app that references the library project now fails with “Failed to resolve library path” followed by the path it is trying to resolve, which is indeed the right path.

Even if I don’t use ‘update project’ and revert to the default.properties, local.properties and build.xml files that used to work for ant.bat build.xml, it still fails with this same error since the sdk update.

Any advice would be greatly appreciated. Thanks! Scott

  • 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-05-24T04:33:53+00:00Added an answer on May 24, 2026 at 4:33 am

    I found a solution to that:

    When making the instruction of adding to library folder, try to do it with a relative path like this:

    android update project –target 3 –path c:/Absolute/Path/Of/Project –library ../actionbar(relativePathOfLibrary)

    I found the same problem as you, but by this way it worked fine.

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

Sidebar

Related Questions

After updating to Parsec 3.1 from 2.x, code using many1, such as word =
I have a DataGrid, populated with objects in an ArrayCollection. After updating one of
Folks, I just have a quick question about updating my app after it is
After updating my ubuntu from 10.04 to 11.04, I opened eclipse and wondered why
After updating or creating a record I use url helper to redirect to the
When executing SubmitChanges to the DataContext after updating a couple properties with a LINQ
I'm updating the src attribute of an <img> tag in javascript. After I've done
After reading the Head First Design Patterns book and using a number of other
After lots of attempts and search I have never found a satisfactory way to
For some reason after updating to Snow Leopard, my Xcode 3.2 is stupid like

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.