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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:31:23+00:00 2026-05-14T00:31:23+00:00

I downloaded the most recent version of Android for Linux (android-sdk_r05-linux_86.tgz). I was trying

  • 0

I downloaded the most recent version of Android for Linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I’m running AMD64, but I have the 32-bit libraries installed. The Android Ant tasks are all broken.

First, the start-emulator task never gets the emulator running. It does get past starting adb, but then it just sits there.

Second, the SDK is missing the AAPT binary in the tools directory. So, the example notepad sample application will not even package correctly.

java.lang.IllegalStateException: Can’t find aapt inside the sdk
at /home/user/bin/android-sdk-linux_86
at com.googlecode.autoandroid.lib.AndroidTools.locateTool(AndroidTools.java:116)
at com.googlecode.autoandroid.lib.AndroidTools.startTool(AndroidTools.java:103)
at com.googlecode.autoandroid.lib.AndroidTools.startTool(AndroidTools.java:91)
at com.googlecode.autoandroid.lib.UnixAndroidTools.aapt(UnixAndroidTools.java:9)

I have all the dependencies configured for Android. I can run it from the command line just fine.

I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I’m considering writing my own Python scripts to interact with the Android SDK. Ugh.

  • 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-14T00:31:23+00:00Added an answer on May 14, 2026 at 12:31 am

    I have written three books all using the Android Ant build scripts. Trust me, they work.

    First, the start-emulator task never
    gets the emulator running. It does get
    past starting adb, but then just sits
    there.

    Run the android command and launch the emulator from AVD Manager window that appears. AFAIK, there is no start-emulator task in Ant — in fact, I’m not aware that there ever has been one.

    Second, the SDK is missing the aapt
    binary in the tools directory.

    If you are looking in $ANDROID_HOME/tools/ (where $ANDROID_HOME is where you unpacked the SDK), you aren’t supposed to find aapt there. That directory is for tools that directly support all API levels. API-level-specific tools, like aapt, will reside in $ANDROID_HOME/platforms/$SDK/tools/ (where $SDK is the name of some Android version, like android-2.1).

    If you do not have anything in $ANDROID_HOME/platforms/, please follow step 4 of the installation instructions.

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

Sidebar

Related Questions

I downloaded and installed the Aptana Studio free version. But apparently, to install the
Given a URL, what would be the most efficient code to download the contents
I downloaded Hex Workshop, and I was told to read a .dbc file. It
I downloaded Reflector.Net and it's an .Exe outside VS. I remember (last year) when
Having downloaded Pango and GLib from the GTK+ Project's Win32 downloads page and having
have downloaded Orca to edit an MSI file. I want to remove some banner
I downloaded the Guidance Automation Toolkit for VS 2008 and in the middle of
I downloaded the Eclipse PDT 2.0 GA release (Eclipse 3.4), however, it doesn't look
I recently downloaded ndepend and ran an analysis on an open source project I
I have downloaded a font that looks less than desirable if it is not

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.