Deployment problem on ADF Mobile (Android Emulator)

Good Day,
I am using Jdeveloper 11.1.2.3.0
I am getting a problem during the deployment of my app on Android Emulator. Here is the log:
[01:54:56 PM] Updating Android profile dependencies with FAR profiles created from application projects...
[01:54:56 PM] ----  Deployment started.  ----
[01:54:56 PM] Target platform is  (Android).
[01:54:56 PM] Beginning deployment of ADF Mobile application "FirstMobileApp" to Android using profile "TestProfile".
[01:54:56 PM] Checking state of Android Debug Bridge server...
[01:54:56 PM] Android Debug Bridge server already running.
[01:55:00 PM] Verifying a single Android emulator is online and connected to the ADB server...
[01:55:00 PM] Beginning deployment of ADF Mobile application "FirstMobileApp" to Android using profile "TestProfile".
[01:55:00 PM] Running dependency analysis...
[01:55:00 PM] Building...
[01:55:00 PM] Deploying 3 profiles...
[01:55:01 PM] Wrote Archive Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar
[01:55:01 PM] Wrote Archive Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar
[01:55:01 PM] Starting to prepare the packaging...
[01:55:07 PM] Verifying Application Controller project exists...
[01:55:07 PM] Verifying application dependencies...
[01:55:07 PM] Validating application XML files...
[01:55:07 PM] Validating XML files in project ApplicationController...
[01:55:07 PM] Validating XML files in project ViewController...
[01:55:08 PM] Copying FARs to the ADF Mobile Framework application...
[01:55:08 PM] Copying FAR from source: ViewController...
[01:55:08 PM] Copying FAR from source: ApplicationController...
[01:55:08 PM] Copying framework java resource files...
[01:55:24 PM] Copying common javascript files...
[01:55:38 PM] Deploying skinning files...
[01:55:38 PM] Copying application image files...
[01:55:38 PM] Copying ADF Mobile configuration files...
[01:55:38 PM] Copying .adf files...
[01:55:38 PM] Copying security related files to the ADF Mobile Framework application...
[01:55:38 PM] Creating Android preferences XML files...
[01:55:39 PM] Creating AndroidManifest.xml file...
[01:55:39 PM] Creating unsigned Android application file...
[01:55:50 PM] Compiling Android Resource Identifier file...
[01:55:52 PM] Creating Android classes.dex file from class files...
[01:55:54 PM] Command-line executed: ["C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat", --dex, --keep-classes, --output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex", C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar]
[01:55:54 PM] '"C:\Windows\system32\java.exe"' is not recognized as an internal or external command,
[01:55:54 PM] operable program or batch file.
[01:55:54 PM] Command-line execution failed (Return code: 1)
[01:55:54 PM] Command-line executed:  "C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat" --dex --keep-classes --output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex" C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\phonegap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar
[01:55:54 PM] Deployment cancelled.
[01:55:54 PM] ----  Deployment incomplete  ----.
[01:55:54 PM] Deployment failed due to one or more errors returned by 'C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat'.  The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)

Dear aJohny,
I am sorry for inconvenience, In fact I had to ask about solution of this problem. Its my bad I had pasted the wrong log. Here is the original problem, as I have updated the question also:
[01:54:56 PM] Updating Android profile dependencies with FAR profiles created from application projects...
[01:54:56 PM] ----  Deployment started.  ----
[01:54:56 PM] Target platform is  (Android).
[01:54:56 PM] Beginning deployment of ADF Mobile application "FirstMobileApp" to Android using profile "TestProfile".
[01:54:56 PM] Checking state of Android Debug Bridge server...
[01:54:56 PM] Android Debug Bridge server already running.
[01:55:00 PM] Verifying a single Android emulator is online and connected to the ADB server...
[01:55:00 PM] Beginning deployment of ADF Mobile application "FirstMobileApp" to Android using profile "TestProfile".
[01:55:00 PM] Running dependency analysis...
[01:55:00 PM] Building...
[01:55:00 PM] Deploying 3 profiles...
[01:55:01 PM] Wrote Archive Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar
[01:55:01 PM] Wrote Archive Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar
[01:55:01 PM] Starting to prepare the packaging...
[01:55:07 PM] Verifying Application Controller project exists...
[01:55:07 PM] Verifying application dependencies...
[01:55:07 PM] Validating application XML files...
[01:55:07 PM] Validating XML files in project ApplicationController...
[01:55:07 PM] Validating XML files in project ViewController...
[01:55:08 PM] Copying FARs to the ADF Mobile Framework application...
[01:55:08 PM] Copying FAR from source: ViewController...
[01:55:08 PM] Copying FAR from source: ApplicationController...
[01:55:08 PM] Copying framework java resource files...
[01:55:24 PM] Copying common javascript files...
[01:55:38 PM] Deploying skinning files...
[01:55:38 PM] Copying application image files...
[01:55:38 PM] Copying ADF Mobile configuration files...
[01:55:38 PM] Copying .adf files...
[01:55:38 PM] Copying security related files to the ADF Mobile Framework application...
[01:55:38 PM] Creating Android preferences XML files...
[01:55:39 PM] Creating AndroidManifest.xml file...
[01:55:39 PM] Creating unsigned Android application file...
[01:55:50 PM] Compiling Android Resource Identifier file...
[01:55:52 PM] Creating Android classes.dex file from class files...
[01:55:54 PM] Command-line executed: ["C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat", --dex, --keep-classes, --output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex", C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar]
[01:55:54 PM] '"C:\Windows\system32\java.exe"' is not recognized as an internal or external command,
[01:55:54 PM] operable program or batch file.
[01:55:54 PM] Command-line execution failed (Return code: 1)
[01:55:54 PM] Command-line executed:  "C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat" --dex --keep-classes --output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex" C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\phonegap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar
[01:55:54 PM] Deployment cancelled.
[01:55:54 PM] ----  Deployment incomplete  ----.
[01:55:54 PM] Deployment failed due to one or more errors returned by 'C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat'.  The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)
Sorry and Regards,
Muddasar

Similar Messages

  • Problem with ADF Mobile on Android

    Hi,
    I'm trying to run a very simple test with adf mobile on android emulator.
    But when I try to open the app, the splash screen never changes.
    Only when I go to the menu and I return to the app from the device menu, this show the main screen.
    And...
    When I try to open a very simple amx page, the app launch a message that says
    Failed to initilize the AdfcContext{classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ; }
    Somebody can help me?
    I am using:
    ADF Mobile Framework oracle.adf.mobile 11.1.2.4
    Android sdk 22
    Message: http://db.tt/mIqcekCI
    Log: http://db.tt/0frlguNq
    Thanks!

    Hi, there, a couple of things to double check on your emulator settings:
    When configuring the Android emulator, please make sure the emulator emulates ARM Processor (armeabi - v7).  ADF Mobile only works with ARM processors - both device and emulator.
    Under Memory Options, please ensure RAM is at least 768 or greater.  This of course is also constraint by the amount of memory your development machine has, but generally you should have at least 768 MB allocated.  ADF Mobile app itself won't take up nearly that much RAM of course, but there are a lot of Android apps that are started in the background when Android emulator starts.
    Also, make sure there is 500 MB of internal storage configured - you can go as low as 200 MB but the space will quickly.
    Lastly, before you compile/deploy again, please go to JDeveloper menu item Build - Clean All to clean up any left over deployment artifacts.
    Thanks,
    Joe Huang

  • J2ME Deployment problem on Samgsung mobiles

    Hi all, I need help regarding deployment of an midlet application on Samgsung mobile,
    my prob is : after going through main menu which contains 5 fields ...like balance information, log information etc
    last character of the items of menu bar getting cut like balance informatio , log informatio etc....but
    on netbeans and samgsung Emulator this code is working good but while deploying it on samgsung handset above problem get appear...
    plz help me
    I have set the font size small but still it gives same problem.
    I am not using default font size.
    It is not an GUI based application it is dos based common application ...for other mobiles it is good ..this prob is only with samgsung mobiles ...
    Edited by: AbhitNigam on Nov 24, 2008 10:21 PM

    the way you describe it, behavior of TextField at Samsung looks both legal and reasonable to me.
    If that's the case, you better redesign your app to be able to work properly with phones like that

  • Unable to deploy a simple ADF Mobile app to iPhone

    I have been able to deploy the app on iOS simulator, and also on an Android device. I have also created provisioning profile and certificate from apple developer site. My XCode is also setup properly and can deploy the app on iPhone. However when i try to deploy the app from JDeveloper, i get the follow error
    [06:25:45 PM] error: /usr/bin/codesign force preserve-metadata=identifier,entitlements,resource-rules sign iPhone Developer: Xxxxx Xxxxx (XXXXXXXXXXX) resource-rules=/var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app/ResourceRules.plist /var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app failed with error 1. Output: /var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app: replacing existing signature
    [06:25:45 PM] Program /usr/bin/codesign returned 1 : [/var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app: replacing existing signature
    [06:25:45 PM] Command-line execution failed (Return code: 1)
    [06:25:45 PM] Deployment cancelled.
    [06:25:45 PM] ---- Deployment incomplete ----.
    [06:25:45 PM] Failed to package the XCode application.
    [06:25:45 PM] Failed to build the iOS application bundle.
    [06:25:45 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    *error: /usr/bin/codesign force preserve-metadata=identifier,entitlements,resource-rules sign* iPhone Developer: Xxxxx Xxxxx (XXXXXXXXXXX) resource-rules=/var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app/ResourceRules.plist /var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app failed with error 1. Output: /var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app: replacing existing signature
    Program /usr/bin/codesign returned 1 : [/var/folders/4c/807vmhdd3svf5fz41qsr08lh0000gn/T/XUwSAsMveS/Payload/ABCDemoApp.app: replacing existing signature
    Any idea what might have not been setup correctly in JDeveloper or in keychain access?
    Thanks

    I also encountered the same problem, how to solve?
    [05:59:39 PM] Command-line executed:  /usr/bin/xcrun -sdk iphoneos PackageApplication -v /Users/SCSMAC/jdeveloper/ebs/EBSApp/deploy/iOS1/Destination_Root/Applications/EBSApp.app -o /Users/SCSMAC/jdeveloper/ebs/EBSApp/deploy/iOS1/Destination_Root/Oracle_ADFmc_Container_Application/device/EBSApp.ipa --sign iPhone Developer: XXXXXX (2XXXXXx) --embed /Users/SCSMAC/Library/MobileDevice/Provisioning Profiles/14BE1118-2E1B-49F9-84C3-122B71B01667.mobileprovision
    [05:59:39 PM] Command-line execution failed (Return code: 255)
    [05:59:39 PM] Deployment cancelled.
    [05:59:39 PM] ----  Deployment incomplete  ----.
    [05:59:39 PM] Failed to package the XCode application.
    [05:59:39 PM] Failed to build the iOS application bundle.
    [05:59:39 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'.  The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 255)

  • ADF Mobile: Deployment Error: MessageDigest SHA-1 implementation not found

    Hi,
    I was trying to create and deploy a test application as outlined in the online tutorial for ADF Mobile:Android
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    After I hit Deploy to emulator, it fails with the following exception:
    trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found.
    I have successfully deployed applications developed from Eclipse with Android extension on the same emulator.
    I tried manual cmd line deployment of the generated apk file
    I got [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error first.
    I then followed the instructions in the below post to create a keystore, sign the application and again deploy the application
    signing error with abt deployment with ADF Mobile and java 1.7
    I got the following error.
    C:\Program Files\Android\android-sdk\platform-tools>adb -e install -r C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3/testapp.apk
    100 KB/s (21928920 bytes in 212.281s)
    pkg: /data/local/tmp/testapp.apk
    Failure [INSTALL_FAILED_DEXOPT]
    Is it a BUG or am I missing something? Appreciate if someone can help me out.
    Specs. Win XP
    Android 4.1.2 (API 16)
    Jdev
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    ADF Mobile Framework     oracle.adf.mobile     11.1.2.3.39.62.94     Fully Loaded
    Deployment Log:
    [06:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
    [06:58:01 AM] ---- Deployment started. ----
    [06:58:01 AM] Target platform is (Android).
    [06:58:01 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:03 AM] Checking state of Android Debug Bridge server...
    [06:58:04 AM] Android Debug Bridge server already running.
    [06:58:11 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [06:58:11 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:11 AM] Running dependency analysis...
    [06:58:11 AM] Building...
    [06:58:11 AM] Deploying 3 profiles...
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ApplicationController\deploy\ApplicationController.jar
    [06:58:18 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ViewController\deploy\ViewController.jar
    [06:58:18 AM] Starting to prepare the packaging...
    [06:58:18 AM] Verifying Application Controller project exists...
    [06:58:18 AM] Verifying application dependencies...
    [06:58:18 AM] Validating application XML files...
    [06:58:18 AM] Validating XML files in project ApplicationController...
    [06:58:18 AM] Validating XML files in project ViewController...
    [06:58:19 AM] Copying FARs to the ADF Mobile Framework application...
    [06:58:19 AM] Copying FAR from source: ViewController...
    [06:58:19 AM] Copying FAR from source: ApplicationController...
    [06:58:19 AM] Copying Android template...
    [06:59:19 AM] Copying framework resource files...
    [06:59:20 AM] Copying framework java resource files...
    [06:59:43 AM] Copying common javascript files...
    [07:00:01 AM] Deploying skinning files...
    [07:00:01 AM] Copying application image files...
    [07:00:02 AM] Copying ADF Mobile configuration files...
    [07:00:02 AM] Copying .adf files...
    [07:00:02 AM] Copying security related files to the ADF Mobile Framework application...
    [07:00:02 AM] Creating Android preferences XML files...
    [07:00:02 AM] Creating AndroidManifest.xml file...
    [07:00:02 AM] Creating unsigned Android application file...
    [07:00:58 AM] Compiling Android Resource Identifier file...
    [07:01:01 AM] Creating Android classes.dex file from class files...
    [07:01:26 AM] Command-line executed: ["C:\Program Files\Android\android-sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex", C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar]
    [07:01:26 AM]
    [07:01:26 AM] trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:631)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:591)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.run(Main.java:218)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.main(Main.java:174)
    [07:01:26 AM] at com.android.dx.command.Main.main(Main.java:91)
    [07:01:26 AM] Caused by: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
    [07:01:26 AM] at java.security.MessageDigest.getInstance(MessageDigest.java:75)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:629)
    [07:01:26 AM] ... 6 more
    [07:01:26 AM] Command-line execution failed (Return code: 2)
    [07:01:26 AM] Command-line executed: "C:\Program Files\Android\android-sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex" C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar
    [07:01:26 AM] Deployment cancelled.
    [07:01:26 AM] ---- Deployment incomplete ----.
    [07:01:26 AM] Deployment failed due to one or more errors returned by 'C:\Program Files\Android\android-sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 2)
    - Thanks
    Sujith
    Edited by: user11272928 on Oct 30, 2012 7:28 PM

    Hi,
    At this point, we really have not fully tested out JDK 1.7, and we rely on Android SDK to actually compile the app. Any way you can add JDK 1.6 to your machine, and configure the Android SDK to use JDK 1.6?
    Thanks,
    Joe Huang

  • Oracle ADF Mobile application is very slow in Android

    Hi
    I am new to oracle ADF.
    When I tried to deploy an application in an android device it takes a lot of time to deploy as well as every button click in the application takes more time to load. Is there any way to speed up the deployment process ?

    And this one as well
    ADF Mobile: Android performance is very slow - when will this be fixed?

  • When keyboard show-up view didn't resize in Android, ADF Mobile

    Hi Guys,
    Now I was facing with amx page didn't resize when keyboard pop-up, so user cannot scroll for more fields below,
    Btw iOS is normal to resize when keyboard shown.
    How to fix this issue ?

    Hi Frank
    Thanks for reply, I have another issue about android startup performance with release mode, I will send it to you.
    Btw about Android resize view when keyboard show-up, I can fix it but it should include in next release of ADF Mobile.
    My fix is (Thanks for JoeHuang's way to browse Android template file : Google Play Store does not accept ADF Mobile apps for tablets)
    - Navigate to file <JDev Install>/JDeveloper/JDev/Extensions/oracle.adf.mobile/Android/Oracle_ADFmf_Framework.zip
    - Make a backup copy of the zip file
    - Unzip the file, which would extract all files into a "framework" directory
    - Navigate to framework/template/AndroidManifest.template.xml file
    - Change android:windowSoftInputMode value to "adjustResize" Ex. android:windowSoftInputMode="adjustResize"
    - Zip up the framework directory and name zip file as Oracle_ADFmf_Framework.zip, replacing the old one.  Please make sure the zip file has the exact same directory structure as before.
    - In JDeveloper, before deploying the application again, please do a "Clean All" to clean out all old deployment artifacts.
    - Deploy the app again
    After fix, views is automatically resize when keyboard pop-up, but seems weird with navigation bar that will show as it include in view too.
    I don't know why ADF Mobile put android:windowSoftInputMode value as "adjustPan" in manifest file, as Android document said as view will not resize when keyboard showing (Ref: http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft)

  • ADF Mobile sample - palm simulator and jar problem

    Hello.
    I got a few problems with ADF mobile tutorial. (http://www.oracle.com/technology/products/jdev/101/tutorials/wireless/mobile2.html)
    1.     Palm Simulator has no web browser.
    As per description under ‘Prerequisites’ I downloaded the newest Palm Simulator (and some older version too). My Palm Simulator has no web browser. I found nothing how to add or enable web browser. In tutorial screenshots the Palm Simulator has always a browser.
    Where can I get a Palm Simulator with web browser or where can I get a free PPC Simulator for testing my application?
    2.     Incompatible jar-files.
    I’m using JDeveloper 10.1.3.0.4.3673. I think this is the newest version. Mobile.zip contains adf-faces-impl.jar and jsf-impl.jar. Both files have version 10.1.3.0.5. JDeveloper contains this files too. But version is 10.1.3.0.4! On starting oc4j I got an error with information about this version conflict.
    What is wrong on my environment? Did I miss important files? I found no newer ADF files at oracle web site. My solution is to replace the files in Mobile.zip with the older files from JDeveloper.
    With best regards
    C. Schmülling

    Hello Christian,
    The Palm simulator doesn't include a Web browser by default, You have to install it> Here is the URL where you can download the software: http://www.palmos.com/dev/tech/webbrowser/
    Concerning the jar-files it shouldn't be a problem. Just use the jar versions delivered with the Mobile.zip and it should run.
    Regards

  • ADF Mobile Client : Error while trying to import javax.microedition.*

    Hi,
    JDev throws errors at compile time when I try to deploy a sample ADF Mobile Client application.
    These errors are related to javax.microedition.io.* imports.
    Error(11,29): package javax.microedition.io does not exist
    Error(12,29): package javax.microedition.io does not exist
    Error(180,9): cannot find class HttpConnection
    Error(191,27): cannot find class HttpConnection
    Error(191,42): cannot find variable Connector
    Error(250,49): inconvertible types
    Error(303,40): cannot find variable HttpConnection
    Any pointers as to how these errors could be resolved?
    Is there a JDev Wireless extension that should be installed to resolve these J2ME related errors?
    For JDev 10g, I could locate one such extension called JWE here : http://www.oracle.com/technology/products/iaswe/archive/developer/index.html
    I could not find any similar extension for JDeveloper 11.1.3.
    Regards,
    Prasad.

    Hi, just want to make sure - did you install the ADF MObile Client extension yet? Please go to JDev-Help-Check for Updates-Official Oracle Extensions and Updates, and find Oracle ADF MObile Client Extension in the list. Check it, download it, and then restart JDev. Sounds like the extension was not installed, so it's not able to load any J2ME libraries.
    If you have downloaded the extension already, please go to project properties-libraries and classpath, and then see if the sample app is referencing some third party libraries, for example something from RIM. If so, please double check the path to the library.
    Once you installed the extension, you can also access the ADF Mobile Client developer guide - it contains all the documentation around what you need to install first. Please take a look and see what you need to install - at a minimum, you need to install BlackBerry JDE if you want to deploy to BlackBerry, and Windows Mobile Emulator if you want to test the app on Windows Mobile. Lastly, if you need to synchronize data, then you also need Oracle Database Lite MObile Server installation.
    Thanks,
    Joe Huang

  • ADF Mobile - Get network status

    OS: OSX 10.8.5
    JDEV: 11.1.2.4
    ADF Mobile Extension version: 11.1.2.4.39.64.51
    HI All,
    I'm currently in the middle of developing an ADF Mobile application and exploring the offline/online capabilities and have run into an issue where i'm trying to determine if the user has network connectivity, but its not working properly. I'm trying to make the app as dynamic as possible such that, for every transaction that requires network access, the app will check beforehand whether it is "connected" or "disconnected".  I've tried the following but not quite got there..
    1) From the link below, Joe does make note that the EL Expression "#{deviceScope.hardware.networkStatus}" to resolve the network status is only evaluated at start up, which is good for when the app opens.. but not good when the user loses network connectivity.
    Re: JDeveloper  ADF Mobile -- Android Context
    2) The link below uses javascript to evaluate the network connectivity. This works first time and every subsequent time afterwards, however, I would like the javascript to ONLY evaluate the network status and then populate a pageFlowScope variable with true or false. This bit also works fine. From here, it may seem that the pageFlowScope variable has been populated, but if the java method (which calls the javascript function to check the network connectivity) also includes code that reference the pageFlowScope variable that the javascript has just populated, it is not evaluated properly.
    Example:
        public void checkConnection(ActionEvent actionEvent) {
            // This works fine and populates the PageFlowScope variable fine
            AdfmfContainerUtilities.invokeContainerJavaScriptFunction("feature1", "application.checkConnection",
                                                                              new Object[] { });
            // The two lines below do not work properly, as if its retained the old value of the pageFlowScope.
            ValueExpression ve = AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.isConnected}", String.class);
            throw new AdfException("isConnected: " + (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext()), AdfException.INFO);
    Unwinding ADF: Offline Data Synchronization for ADF Mobile
    Below is a link to a sample app that i made and the steps to reproduce:
    https://app.box.com/s/ng5n362unttu7b88i42b
    - Have network connectivity
    - Click on the "Check connection via JS' button the first time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
    - Click OK twice
    - Click on the "Check connection via JS' button the second time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is CORRECT
    - Click OK twice
    - disconnect your computer from the network/internet
    - Click on the "Check connection via JS' button the third time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
    Has anyone has similar use case has have a work around/solution? This is driving me nuts!
    Cheers,
    Eddie

    Hi Frank,
    Thanks for the quick reply.
    That's exactly what i've used in my javascript function in my demo app and that link is the resource i used as well, however, that javascript code does populate the pageFlowScope variable fine, however, if i make reference to that pageFlowScope variable from within the same java method that includes the call to the javascript function, it does not get the updated pageFlowScope value. Only after the transaction has fully completed and i then [for example] click on a button on the screen to evaluate the pageFlowScope variable again, do i get the updated value.
    Having a stab in the dark, could it be something to do with the way the javascript is executed when updating the pageFlowScope variable and lifecycle of that transaction
    I've also tried this under the code where it populates the pageFlowScope, but it can't resolve the expression, seems like i'm doing something wrong..
    navigator.notification.alert('pageFlowScope value: ' + adf.mf.el.getValue("#{pageFlowScope.isConnected}", onSuccess, onFail), alertDismissed, 'Connected', 'OK');

  • Error while deploying the ADF Mobile application to the Android Emulator.

    Hi,
    I'm getting an error when trying to deploying a basic helloworld ADF mobile application to my Android sdk emulator which is already running as below.
    I'm not able to make anything from this limited log. Can anyone have a look and help me with what could be wrong.
    Any kind of suggestions are most welcome.
    [06:09:30 PM] Print the version of this tool (1.7).
    [06:09:30 PM] dx --help
    [06:09:30 PM] Print this message.
    [06:09:30 PM] Command-line execution failed (Return code: 1)
    [06:09:30 PM] Command-line executed: "D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat" dex debug keep-classes output="D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar
    [06:09:30 PM] Shutting down Android Debug Bridge server...
    [06:09:30 PM] Deployment cancelled.
    [06:09:30 PM] ---- Deployment incomplete ----.
    [06:09:30 PM] Deployment failed due to one or more errors returned by 'D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    Thanks,
    Bhasker

    I'm not able to make anything from this limited log.
    For Android emulator logs run the following command.
    adb logcat
    logcat | Android Developers

  • Getting Error while deploying ADF Mobile App in android Emulator

    Hi All,
    I am getting following error while deploying mobile app into android emulator........i have gone through google search and i hve done with all the steps...as follows
    1. keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000
    i gave password, last name ,organization, state and country
    2. jarsigner -sigalg MD5withRSA -digestalg SHA1 -verbose -keystore /Users/Admin/.android/debug.keystore C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    3. /platform-tools/adb -e install -r C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    After the above step...i got SUCCESS message(while running the above step in command prompt ).........
    Even after that.... I am getting same error while deploying my app using jdeveloper into android emulator.....
    ERROR:
    [09:40:02 AM] Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [09:40:02 AM]
    [09:40:02 AM] Command-line execution failed (Return code: 0)
    [09:40:02 AM] Command-line executed: "E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb" -e install -r "C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\generalmobileapp.apk"
    [09:40:02 AM] Deployment cancelled.
    [09:40:02 AM] ---- Deployment incomplete ----.
    [09:40:02 AM] Deployment failed due to one or more errors returned by 'E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb'. The following is a summary of the returned error(s):
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    Regards,
    Nani
    Edited by: 962874 on Jan 12, 2013 6:46 AM

    The emulator can run out of space for applications - so if you have other applications deployed to the emulator remove them and then try again.
    Other options here:
    http://stackoverflow.com/questions/2239330/how-to-increase-storage-for-android-emulator-install-failed-insufficient-stora

  • Facing problem to display the content in Android Emulator of my mobile app

    Hi All,
    I have developed an adf mobile application as in the following and i successfully deployed my app in android emulator.....
    Link i have used to create basic mobile App ------------ http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    Problem :
    i can view my app in android emulator.......but if i open it i am getting a blank (white) screen in emulator......i don't know wat's happening.
    Can any one please help me to solve this problem.........
    Regards,
    Nani

    Hi,
    Yes Android emulator is very problematic, and there are certain out of box emulator configurations that would not even start up on a reasonably powerful PC.
    What works typically for me is to use an emulator built using SDK version 15 or 16 - for some reason, the Android SDK API level's emulators are much more problematic than before. There are some configurations (for example Nexus 7 tab) that simply hangs when trying to start it using default RAM allocation. After reducing it to 512, I can start it but then I can't start app. With older version of the emulator, if I set the RAM to say 512, generally the emulator will start and the app will also start (although very slowly).
    Unfortunately this is an Android issue, and there is very little ADF Mobile can do.
    In short, if possible please deploy to a device, and also please remember to deploy in release mode when you don't need to debug the app, as performance difference is very great. There are some articles on how to compile Android app in release mode. This may also help with your Android deployment. https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment
    Thanks,
    Joe Huang

  • ADF Mobile: Unfortunately camera has stopped problem in emulator

    Hi,
    I am following this tutorial http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_3.html but after successful deployment I am getting
    this error when i click on take a picture button "Unfortunately camera has stopped problem". I have also tried to use camera of emulator without application and
    getting the same error. Please help me to resolve this issue.
    Thank You,
    Muhammad Nasir

    User129 wrote:
    Hi,
    I am following this tutorial http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_3.html but after successful deployment I am getting
    this error when i click on take a picture button "Unfortunately camera has stopped problem". I have also tried to use camera of emulator without application and
    getting the same error. Please help me to resolve this issue.
    Thank You,
    Muhammad NasirSo bassicly you are saying this is a problem of the emulator? Which hasn't anything to do with ADF Mobile or Oracle.
    Googling your problem doesn't seem very hard.
    http://viralpatel.net/blogs/enable-camera-in-android-emulator/

  • Unable to load ADF Mobile for Android deployment profile.

    Hello,
    I'm trying to implement a simple application on an android platform using this:
    [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html]
    I already downloaded the updates needed as extensions and started the emulator using the SDK Manager.exe. However, i'm not able to create a deployment profile of type: "ADF Mobile for android". I only find type "ADF Mobile Feature Archive" which doesn't work for me because when i try deploying it, i don't find the "deploy application to emulator" option. Any thoughts?
    Regards,
    Mohamed

    Hi.
    To deploy to the emulator or to a device, you must create a deployment profile on your application, not on the ViewController or ApplicationController projects.
    Best Regards,
    Frédéric.

Maybe you are looking for

  • 500 Internal Server error for a single report in a dashboard

    Hi All, I had an issue with a report in a dashboard i.e.., In a dashboard a report is prepared by using the opaque view. When I ran the report in a dashboard it ran for about 15 to 20 mins and the report is excuted with the data. Now I tried to downl

  • Cannot upload any images from iPhone 4 to Macbook Pro. Please help!

    Hi all, I'm pretty much tearing my hair out with this one, I don't know what to do - I simply cannot upload any photos from iPhone 4 to Macbook Pro. This problem appeared out of the blue. I am trying to upload to iPhoto - not working. I have clearing

  • MIR7 Problem

    Dear All, My scenario is as following. I have 2 different vendor account numbers for the vendor. Now I have created two different PO for each vendor account. I have created Goods Receipt for that purchase order. So at that time my financial entry wil

  • Problem with addition of jar file to DC

    Hi WDers, I have a DC of type WD. I'm trying to add com.sap.security.api.jar file to this component so that I can get IUser and work on it. I have added this security jar file as an External jar file to the DC. But whenever I try to DC->Build, the ja

  • Transfer PE6 to iMac

    I have used PE6 for 5 years or so on a Windows PC.  How do I transfer it to my new iMac OS X?  (Adobe Chat operator did not seem to know and recommended I ask the Forum).