This discussion is archived
1 Reply Latest reply: Jul 9, 2013 8:00 AM by dvohra21 RSS

ADF mobile deployment failure with return code 1

san-717 Newbie
Currently Being Moderated

Hi,

 

I'm very much new to ADF mobile.

I started ADF mobile today and I've done basic setup required for that. I followed the following oracle tutorial for setup and develop hello page.

 

Oracle JDeveloper 11g Tutorials

 

Jdev Version : 11.1.2.3.0

 

After complete, I'm getting following error while deploying to emulator.

 

Updating Android profile dependencies with FAR profiles created from application projects...

[06:22:54 PM] ----  Deployment started.  ----

[06:22:54 PM] Target platform is  (Android).

[06:22:54 PM] Beginning deployment of ADF Mobile application "MyMobileApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive1".

[06:22:54 PM] Checking state of Android Debug Bridge server...

[06:22:54 PM] Android Debug Bridge server already running.

[06:23:00 PM] Verifying a single Android emulator is online and connected to the ADB server...

[06:23:00 PM] Beginning deployment of ADF Mobile application "MyMobileApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive1".

[06:23:00 PM] Running dependency analysis...

[06:23:00 PM] Building...

[06:23:01 PM] Deploying 3 profiles...

[06:23:02 PM] Wrote Archive Module to D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\ApplicationController\deploy\ApplicationController.jar

[06:23:02 PM] WARNING: No Resource Catalog enabled ADF components found to package

[06:23:02 PM] Wrote Archive Module to D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\ViewController\deploy\ViewController.jar

[06:23:02 PM] Starting to prepare the packaging...

[06:23:02 PM] Verifying Application Controller project exists...

[06:23:02 PM] Verifying application dependencies...

[06:23:02 PM] Validating application XML files...

[06:23:02 PM] Validating XML files in project ApplicationController...

[06:23:02 PM] Validating XML files in project ViewController...

[06:23:02 PM] Copying FARs to the ADF Mobile Framework application...

[06:23:02 PM] Copying FAR from source: ViewController...

[06:23:02 PM] Copying FAR from source: ApplicationController...

[06:23:02 PM] Copying Android template...

[06:23:19 PM] Copying framework resource files...

[06:23:19 PM] Copying framework java resource files...

[06:23:25 PM] Copying common javascript files...

[06:23:29 PM] Deploying skinning files...

[06:23:29 PM] Copying application image files...

[06:23:29 PM] Copying ADF Mobile configuration files...

[06:23:29 PM] Copying .adf files...

[06:23:29 PM] Copying security related files to the ADF Mobile Framework application...

[06:23:29 PM] Creating Android preferences XML files...

[06:23:29 PM] Creating AndroidManifest.xml file...

[06:23:29 PM] Creating unsigned Android application file...

[06:23:47 PM] Compiling Android Resource Identifier file...

[06:23:48 PM] Creating Android classes.dex file from class files...

[06:23:49 PM] Command-line executed: ["D:\Learning Softwares\Android SDK\adt-bundle-windows-x86-20130219\sdk\platform-tools\dx.bat", --dex, --debug, --keep-classes, --output="D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex", D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\classes, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar, D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar]

[06:23:49 PM] unknown output extension: D:\Jdev

[06:23:49 PM] usage:

[06:23:49 PM] dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]

[06:23:49 PM] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict]

[06:23:49 PM] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>]

[06:23:49 PM] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library]

[06:23:49 PM] [--num-threads=<n>] [--incremental] [--force-jumbo]

[06:23:49 PM] [<file>.class | <file>.{zip,jar,apk} | <directory>] ...

[06:23:49 PM] Convert a set of classfiles into a dex file, optionally embedded in a

[06:23:49 PM] jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions

[06:23:49 PM] options: none, important, lines.

[06:23:49 PM] dx --annotool --annotation=<class> [--element=<element types>]

[06:23:49 PM] [--print=<print types>]

[06:23:49 PM] dx --dump [--debug] [--strict] [--bytes] [--optimize]

[06:23:49 PM] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>]

[06:23:49 PM] [--width=<n>] [<file>.class | <file>.txt] ...

[06:23:49 PM] Dump classfiles, or transformations thereof, in a human-oriented format.

[06:23:49 PM] dx --find-usages <file.dex> <declaring type> <member>

[06:23:49 PM] Find references and declarations to a field or method.

[06:23:49 PM] declaring type: a class name in internal form, like Ljava/lang/Object;

[06:23:49 PM] member: a field or method name, like hashCode

[06:23:49 PM] dx -J<option> ... <arguments, in one of the above forms>

[06:23:49 PM] Pass VM-specific options to the virtual machine that runs dx.

[06:23:49 PM] dx --version

[06:23:49 PM] Print the version of this tool (1.7).

[06:23:49 PM] dx --help

[06:23:49 PM] Print this message.

[06:23:49 PM] Command-line execution failed (Return code: 1)

[06:23:49 PM] Command-line executed:  "D:\Learning Softwares\Android SDK\adt-bundle-windows-x86-20130219\sdk\platform-tools\dx.bat" --dex --debug --keep-classes --output="D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\Jdev 11.1.2.1.0\mywork\MyMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar

[06:23:49 PM] Deployment cancelled.

[06:23:49 PM] ----  Deployment incomplete  ----.

[06:23:49 PM] Deployment failed due to one or more errors returned by 'D:\Learning Softwares\Android SDK\adt-bundle-windows-x86-20130219\sdk\platform-tools\dx.bat'.  The following is a summary of the returned error(s):

Command-line execution failed (Return code: 1)

 

Please suggest what is the error.

 

Thanks,

SAN

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points