1 Reply Latest reply: Feb 4, 2013 2:36 AM by Chris Muir-Oracle RSS

    Deployment Error when deploy to Android Emulator

    Chow Li
      Dear all,

      I encounter problem when trying to deploy the ADF Mobile application to the Android Emulator.
      I followed the tutorial steps in this link.[ADF Mobile Tutorial|http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html]
      Can anyone please help to advise on this matter?

      FYI, I am using JDeveloper Studio 11.1.2.3.0 and Android 4.2(API 17).



      [12:31:39 PM] Command-line executed: ["C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex", C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar]
      [12:31:39 PM] unknown output extension: C:\JDeveloper\mywork\ADF
      [12:31:39 PM] usage:
      [12:31:39 PM] dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]
      [12:31:39 PM] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict]
      [12:31:39 PM] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>]
      [12:31:39 PM] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library]
      [12:31:39 PM] [--num-threads=<n>] [--incremental] [--force-jumbo]
      [12:31:39 PM] [<file>.class | <file>.{zip,jar,apk} | <directory>] ...
      [12:31:39 PM] Convert a set of classfiles into a dex file, optionally embedded in a
      [12:31:39 PM] jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions
      [12:31:39 PM] options: none, important, lines.
      [12:31:39 PM] dx annotool annotation=<class> [--element=<element types>]
      [12:31:39 PM] [--print=<print types>]
      [12:31:39 PM] dx --dump [--debug] [--strict] [--bytes] [--optimize]
      [12:31:39 PM] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>]
      [12:31:39 PM] [--width=<n>] [<file>.class | <file>.txt] ...
      [12:31:39 PM] Dump classfiles, or transformations thereof, in a human-oriented format.
      [12:31:39 PM] dx --find-usages <file.dex> <declaring type> <member>
      [12:31:39 PM] Find references and declarations to a field or method.
      [12:31:39 PM] declaring type: a class name in internal form, like Ljava/lang/Object;
      [12:31:39 PM] member: a field or method name, like hashCode
      [12:31:39 PM] dx -J<option> ... <arguments, in one of the above forms>
      [12:31:39 PM] Pass VM-specific options to the virtual machine that runs dx.
      [12:31:39 PM] dx --version
      [12:31:39 PM] Print the version of this tool (1.7).
      [12:31:39 PM] dx --help
      [12:31:39 PM] Print this message.
      [12:31:39 PM] Command-line execution failed (Return code: 1)
      [12:31:39 PM] Command-line executed: "C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex" C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar
      [12:31:39 PM] Shutting down Android Debug Bridge server...
      *[12:31:39 PM] Deployment cancelled.*
      *[12:31:39 PM] ---- Deployment incomplete ----.*
      *[12:31:39 PM] Deployment failed due to one or more errors returned by 'C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):*
      Command-line execution failed (Return code: 1)