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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:16:33+00:00 2026-05-27T18:16:33+00:00

Buildfile: C:\Users\**\workspace\Obfuscation\build.xml -set-mode-check: -set-release-mode: -release-obfuscation-check: -setup: [echo] Gathering info for Obfuscation… [setup] Android SDK

  • 0
Buildfile: C:\Users\**\workspace\Obfuscation\build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:

-setup:
     [echo] Gathering info for Obfuscation...
    [setup] Android SDK Tools Revision 15
    [setup] Project Target: Android 2.2
    [setup] API level: 8
    [setup]
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup]
    [setup] ------------------
    [setup]

-build-setup:
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\**\**\workspace\Obfuscation\libs

-pre-build:

-code-gen:
     [echo] ----------
     [echo] Handling aidl files...
     [aidl] No aidl files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No renderscript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...

-pre-compile:

-compile:
    [javac] C:\Program Files\Eclipse-sdk\android-sdk\tools\ant\build.xml:600: wa
rning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; s
et to false for repeatable builds
    [javac] Compiling 1 source file to C:\Users\**\workspace\Obfuscation
\bin\classes

-post-compile:

-obfuscate:

-dex:
      [dex] Converting compiled files and external libraries into C:\Users\**
ndhar\workspace\Obfuscation\bin\classes.dex...
       [dx] unknown option: --output
       [dx] usage:
       [dx]   dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]

       [dx]   [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no
-strict]
       [dx]   [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-widt
h=<n>]
       [dx]   [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-li
brary]
       [dx]   [--num-threads=<n>] [<file>.class | <file>.{zip,jar,apk} | <direct
ory>] ...
       [dx]     Convert a set of classfiles into a dex file, optionally embedded
 in a
       [dx]     jar/zip. Output name must end with one of: .dex .jar .zip .apk.
Positions
       [dx]     options: none, important, lines.
       [dx]   dx --annotool --annotation=<class> [--element=<element types>]
       [dx]   [--print=<print types>]
       [dx]   dx --dump [--debug] [--strict] [--bytes] [--optimize]
       [dx]   [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step
=<step>]
       [dx]   [--width=<n>] [<file>.class | <file>.txt] ...
       [dx]     Dump classfiles, or tran
       [dx] sformations thereof, in a human-oriented format.
       [dx]   dx --junit [-wait] <TestClass>
       [dx]     Run the indicated unit test.
       [dx]   dx -J<option> ... <arguments, in one of the above forms>
       [dx]     Pass VM-specific options to the virtual machine that runs dx.
       [dx]   dx --version
       [dx]     Print the version of this tool (1.6).
       [dx]   dx --help
       [dx]     Print this message.

BUILD FAILED
C:\Program Files\Eclipse-sdk\android-sdk\tools\ant\build.xml:729: The following
error occurred while executing this line:
C:\Program Files\Eclipse-sdk\android-sdk\tools\ant\build.xml:731: The following
error occurred while executing this line:
C:\Program Files\Eclipse-sdk\android-sdk\tools\ant\build.xml:743: The following
error occurred while executing this line:
C:\Program Files\Eclipse-sdk\android-sdk\tools\ant\build.xml:249: null returned:
 1

Total time: 3 seconds

I updated the project using android update project and when i command “ant clean” the build is successful but as i step forward to command “ant release” the above failed message shows up. I am using apache-ant-1.8.2

  • 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-27T18:16:33+00:00Added an answer on May 27, 2026 at 6:16 pm

    The problem lies here:

    -dex:

      [dex] Converting compiled files and external libraries into C:\Users\smanandhar\workspace\Obfuscation\bin\classes.dex...
       [dx] unknown option: --output
    

    The dex target of your build file invokes dx command with an invalid parameter.

    This leads you to this SO question, which gives the directions to the solution

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

Sidebar

Related Questions

$ ant deploy Buildfile: /Users/simpatico/SOLR_HOME/build.xml deploy: BUILD FAILED /Users/simpatico/SOLR_HOME/build.xml:531: java.io.IOException: Server returned HTTP response
I'm trying to better integrate Eclipse with my build.xml. My build file calls GNU
I am having problems with malformed XML in my phing build file. I want
Our internal build system uses a shell script to setup the environment for building
Problem description: The setup is executing Ant build script with TestNG target, which then
I'm trying to use ant in a vista 64 environment to build some docbook/xml
I have been using this exact Build.xml file. I had problems in the beginning
Sorry, I'm not terribly experienced with Ant. I like the eclipse Export ant buildfile
Is there a way to specify actions like <copy> in an Ant buildfile that
I have a Nant build file which executes NUnit after compiling the dll's. I

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.