Oracle ADF Mobile - Android SDK problem

Hello

I use Jdev11.1.2.4.0 with ADF Mobile framework 11.1.2.4.39.64.71 EQUIPPED. While I'm deploying application in the Android emulator more precisely Android SDK Manager 22.2.1.

I got an error like.

CreateProcess error=2, The system cannot find the file specified in android "C:\Program Files\Android\platform-tools\aapt"":;

of this error. I got to know, aapt is not in the path mentioned during execution.

But see my configuration below. I loaded different directory.

Location of the Android SDK:

F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk

Location of the Android platform:

F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk\platforms\android-18.

Little, I've observed, earlier we use ADF Mobile framework 11.1.2.3.xx.xx. Now, we are updated to 11.1.2.4.39.64.71. And,

Also AVG Antivirus installed.

I did a few months ago before deployment. I force get this error.

My basic questions:

1. how to solve this error. ?

2. I loaded different directory. Why is he trying to extract from another directory. ?

More clearly... / Platform-tools\aapt is available in drive f but it is looking for drive C Program Files...

Help me understand...

During this time. I have goggled out, I got a link from Jobinesh.

Binary: Error during the deployment of the CRG app for android - cannot run the program "adt-bundle-windows-x86_64-20140321\sdk\tools\zi..."

This link is not accurate. But it helps me understand, I need to move the files to the mentioned location. But it is not sensible for me in my case.

Thank you

Kaim.

You must use Oracle MAF instead of Oracle ADF Mobile in the future.

Google continues to change the location of the files in their installation of SDK - so change between versions of the API of the location of the files.

Make sure that you use the API right supported by your Mobile ADF or the version of the MAF.

Tags: Java

Similar Questions

  • Deployment on ADF Mobile (Android emulator) problem

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I have a problem when deploying my app on the Android emulator. Here is the log:

    [13: 54:56] update Android profile dependencies with FAR profiles created from application projects...

    [13: 54:56]-deployment began.  ----

    [13: 54:56] the target platform's (Android).

    [13: 54:56] early deployment of ADF Mobile application 'FirstMobileApp' in Android using «TestProfile» profile

    [13: 54:56] check the State of the Android Debug Bridge server...

    [13: 54:56] Server Android Debug Bridge already running.

    [13:55] check a single Android emulator is online and connected to the ADB server...

    [13:55] early deployment of ADF Mobile application 'FirstMobileApp' in Android using «TestProfile» profile

    [13:55] analysis of the dependence running...

    [13:55] building...

    [13:55] deployment of 3 profiles...

    [13: 55:01] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [13: 55:01] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [13: 55:01] start preparing the package...

    [13: 55:07] check the Application Controller project exists...

    [13: 55:07] checking dependencies of applications...

    [13: 55:07] Validation of the application XML files...

    [13: 55:07] Validation of the XML files in the ApplicationController project...

    [13: 55:07] Validation of the XML files in the ViewController project...

    [13: 55:08] copy of FARs in the application of the Mobile ADF framework...

    [13: 55:08] far from the source of the copy: ViewController...

    [13: 55:08] copy by far the source: ApplicationController...

    [13: 55:08] copy of resource files java framework...

    [13: 55:24] copy of the common javascript files...

    [13: 55:38] deployment of counting files...

    [13: 55:38] copy of the application image files...

    [13: 55:38] copy of the ADF Mobile configuration files...

    [13: 55:38] .adf files...

    [13: 55:38] copy of file security related to the application of the Mobile ADF framework...

    [13: 55:38] Creation of preferences Android XML files...

    [13: 55:39] creating AndroidManifest.xml file...

    [13: 55:39] Creation of unsigned Android application file...

    [13: 55:50] compile the file of the Android resource identifier...

    [13: 55:52] create file classes.dex Android since the class files...

    [13: 55:54] run command line: ['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]

    [13: 55:54] "" C:\Windows\system32\java.exe"" is not recognized as an internal or external, order

    [13: 55:54] operable program or batch file.

    [13: 55:54] command-line execution failed (return code: 1).

    [13: 55:54] run command line: '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

    [13: 55:54] undeployment.

    [13: 55:54] - incomplete deployment.

    [13: 55:54] deployment failed due to one or more errors returned by "C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat".  What follows is a summary of the returned error:

    Command-line execution failed (return code: 1).

    You have Java 1.6 installed SDK? If Yes, can you specify the environment variable JAVA_HOME for this?

    See you soon

    AJ

  • Oracle ADF Mobile application is very slow in Android

    Hello

    I am new to oracle ADF.
    When I tried to deploy an application in an android device, it takes a lot of deployment time, and each click on a button in the application takes more time to load. Is it possible to speed up the deployment process?

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

  • County of 'badge' or bubble in Oracle ADF Mobile


    Hello

    Can someone give me a sample of strategy of the County 'badge' or bubble in Oracle ADF Mobile?

    Thank you.

    Hello

    For what I can see there is no such thing for mobile of the box (I hope someone will correct me). For now, you will need to implement your own component using css and so on. The link that I sent is the app icon badge (and it's just for iOS). As for example when you receive new messages and shows you the number of new messages in the application icon. If you find something, please let us know.

    Concerning

  • Oracle Fusion Middleware Java QAnywhere for Oracle ADF Mobile

    Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile?

    Thank you very much for your time.

    Hi, this is a reference to the JavaDocs of the methods/classes supported by ADF Mobile Java. You can usually right (or ctrl) click on any method of specific Java ADF Mobile and select "JavaDoc". You can open a sample application that contains a Java class - for example the HR sample application, and find any method with the name "adfmf." You should be able to see the doc of Java for the ADF Mobile related methods/classes.

    Thank you

    Joe Huang

  • Oracle Adf Mobile Browser

    Hi all

    I use JDeveloper 11.1.2.3.0, I created browser mobile ADF application similar to an application developed by Mr. Andrejus Baranovskis in his bolg Andrejus Baranovskis Blog: iPhone Web App Development with ADF Mobile Browser with all respect and regards the Mr. Andrejus Baranovskis.

    All things is OK when I run the application in the Test Center MobiOne - iphone ios 6.0.

    But when I run the iPhone application 6. iPhone shrinks the pages until they are too small to read.

    Are it the special parameters I need to be aware of?

    Kind regards


    I think so, but see for yourself Oracle Mobile Platform | Mobile applications | Oracle

    Timo

  • JDeveloper ADF Mobile - Android context

    Hello

    I'm new to the development of the ADF Mobile. I wanted to use an existing library of android. which requires the context as a parameter because this isn't some back-end database activities. How can I get the Android context if I develop hybrid application using ADF Mobile.

    It's very urgent for the development of mu. Any help is appreciated.

    Kind regards
    Kathia

    Hi, unfortunately I don't think that it is easy to use an existing library of Android, because the JVM Dalvik on Android device is different from the JAVA virtual machine integrated into ADF Mobile. ADF Mobile integrates its own JVM to ensure cross-platform compatibility.

    However, that said, what is the use case exact application you have in mind? In the backend, you mean you are trying to use the Android library communicates with the database server and synchronize data and download data in the local SQLite Database?

    Thank you

    Joe Huang

  • Oracle ADF Mobile deployment

    Hello

    I've created a Mobile Application using ADF framework in JDeveloper. The application works very well on the 4.1.2(API Android 16) , but when I deploy on Android 4.4.2 (Api 19) it shows error like this

    adfmf: ['Device', 'getDeviceInfo","Device0", true]

    adfmf: ['Network status', 'getConnectionInfo', 'NetworkStatus1', true]

    gap_callbackServer:

    These three errors come several times, then application keeps loading and nothing happens.

    I deploy the application in Debug Mode, Minimum SDK API level is 9 , maximum level of SDK API is 19.

    Please tell me if I'm doing something wrong, while deploying the Application or that I have to make a few modifications specifically for API 19.

    My version of Jdeveloper is 11.1.2.3

    Thank you

    Try to upgrade to the new CRG Oracle - see certification matrix:

    Oracle of the MAF 2.0.1 Certification Information

    Should technically be a smooth migration.

  • Oracle ADF mobile

    I created a client mobile app on Oracle Jdeveloper and deployed successfully on a BlackBerry Simulator. But now, after creating a webservice for the same application, which contains data hardcoded after deployment on the Simulator is show the labels but is not able to retrieve the data.
    My webservice is an identification number of the Department in particular, it should give the details of the employee. Waiting for suggesstions & help.

    Hello

    I'm afraid, but the information you provide is not enough for us to have any idea. Basically, say you that it does not work.

    Frank

  • Play Google store does not accept the ADF Mobile apps for tablets

    My ADF Mobile app is published on the Google game, but he says that the app is not compatible with the tablets, for the following reasons:

    1. properly target the Android Versions

    I fixed this by going into the properties of the Application > deployment > Android profile > edit > Options Android > change target SDK API level from 9 to 14.

    Note to the ADF Mobile Team: I recommend that you change the default target SDK API level from 9 to a higher level (Google recommends 14 today).

    2. correctly report physical dependencies

    I understand the problem, but I need help to find a good solution.

    The problem is, when ADF Mobile deploys on the package, it creates an AndroidManifest.xml file and since my application uses SMS, it necessarily adds a < permission > element for telephony.  In general, approval will be "implies" that phone is a "requirement of functionality of the material" unless we also add an element of <>uses feature corresponding with android: required = "false".  However, ADF Mobile not set the < uses > function in the AndroidManifest.xml.

    Does anyone know a good solution for this?  (I searched for a way to configure this in ADF Mobile and in the docs, but it found nothing. "And I can't manually change the AndroidManifest.xml because ADF Mobile it creates in the middle of the deployment process).

    3. take advantage of the extra screen available on shelf area

    I have no start troubleshooting this in detail yet, but I'm curious to know how the Google game store, determines exactly?

    Anyway, if anyone can help me with #2, I would be grateful.  Thank you!

    Patrick

    Edit: Title changed this message, because I believe it is a more serious current problem.  Will respond with more information soon.

    Hi, Patrick, recently Google game made a number of changes, so it is much stricter in terms of supported Android.  Successfully, we applied workarounds and found the combination that seems to work for Google play.  Here are the details based on your questions:

    (1) the level of the API should not matter as long as it's 9 or above - 9 is the current default value.  Nothing specific in ADF Mobile that requires the level more high API.  However, if you are interested you should limit your application to 4.x devices, you can set the minimum and target API level accordingly to assert that.

    (2) by default, ADF Mobile says all the permissions of the device which may potentially be required by the framework.  This is why, for example, even if the application accesses a camera, the AndroidManifest.xml file will still contain references to the permissions of the camera.  Possibility to choose the correct hardware permissions selectively is planned for the next version of Mobile of the ADF.  In the meantime, you can change the AndroidManifest.xml file template in an extension of the ADF Mobile as the workaround.

    (3) Google game uses the element of "Supports the screen" in the file AndroidManifest.xml to determine what factors shape/devices are supported.  Summary of form factors supported and densities are described here: supporting multiple screens | Android developers.  ADF Mobile supports the display of different density already.  In what concerns the size of the screen, you must add the element "supports the screen" in the model of manifest file xml for the size of the screen that you want to support.  For example, if you want to add in support of all devices:

    Android: normalScreens = 'true '.

    Android: largeScreens = "true".

    Android: xlargeScreens = "true" / >

    The Android site would give you definitions of what mean these sizes.

    Finally, here are the instructions on changing the template AndroidManifest.xml:

    -Access file /JDeveloper/JDev/Extensions/oracle.adf.mobile/Android/Oracle_ADFmf_Framework.zip

    -Make a backup copy of the zip file

    -Unzip the file, which would be to extract all files in a directory of 'framework '.

    -Navigate to the framework/template/AndroidManifest.template.xml file

    -Use a text editor to change the permissions of the device, as well as the addition of the screen element supports as indicated above.

    -Zip up the framework directory and name the file zip as Oracle_ADFmf_Framework.zip, replacing the old.  Please make sure that the zip file has the same directory structure exactly as before.

    -In JDeveloper, before you deploy the application, please do a "Clean All" to clean up all the old objects deployment.

    -Deploy the application - the application should now be visible for tablets, as well as with adequate permissions.

    -Download the application on Google game - no further action is necessary in the game of Google around form factors supported and the permissions of the device.

    Now the Android deployment process does not additional validation for the device permissions are actually necessary, therefore, to ensure that these are properly defined.

    I'll also cross post this on the blog of the ADF Mobile team.

    Thank you

    Joe Huang

  • Problem with ADF Mobile on Android

    Hello

    I am trying to perform a very simple test with adf mobile on android emulator.

    But when I try to open the application, the startup screen never changes.

    Only when I go to the menu and go back to the application in the menu device, it shows the main screen.

    And...

    When I try to open a page very simple amx, the app launch a message that says:

    Failed to initialize the AdfcContext {classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ;}}

    Can someone help me?

    I use:

    Framework Mobile ADF oracle.adf.mobile 11.1.2.4

    SDK Android 22

    Message: http://db.tt/mIqcekCI

    Journal: http://db.tt/0frlguNq

    Thank you!

    Hi, there, a number of things to double check your settings of the emulator:

    • When the Android emulator configuration, make sure that the emulator emulates the ARM processor (armeabi - v7).  ADF Mobile works only with the ARM processors - device so the emulator.
    • Under Options, memory, please ensure that RAM is at least 768 or higher.  It is of course also constrained by the amount of memory that your development computer has, but in general, you should have at least 768 MB allocated.  ADF Mobile app itself will almost RAM of course, but there are lots of Android apps that are started in the background when the Android emulator starts.
    • Also make sure, there are 500 MB of internal storage configured - you can go as low as 200 MB, but the space will be quickly.

    Finally, compile/deploy again, please open JDeveloper menu Build - Clean all to clean up any left over deployment artifacts.

    Thank you

    Joe Huang

  • ADF mobile for Android is not available

    Hi all

    I created Oracle ADF Mobile application. I need to deploy my project view controller using the deployment "ADF" mobile for android But for some reason that this option is not in the deployment. I have an option of "ADF Mobile feature Archive", but I need to deploy the application by using the Android emulator.

    I use Jdeveloper 11.1.2.3.0. I have installed mobile extension of the ADF.

    I already have Android SDK and program in the preferences. Can someone help me on this?

    Thank you!

    You deploy in the application menu, not for the project controller View menu.

  • How to reduce the Oracle ADF deployed Mobile

    Hello

    I created simple demonstrations with Oracle ADF Mobile and the deployment file is more than 50 MB. Is there a way to reduce this size? Maybe remove some features unused llike SQLLite?

    At the moment you can't do much. Oracle is working on that. With one of the next versions the size will reduce if all goes well.  If you create the application without debugging information, the size is smaller.

    Timo

  • ADF Mobile installation problems

    Hello

    I installed Jdev 11.1.2.3.0 and made a ' check for updates ' help and checked/downloaded the mobile extension ADF 11.1.2.3.39.62.76.1. I checked packages navigating using-->--> about tad of extensions and to have made that I do not see the "ADF Mobile Framework" package. I can see 'ADF Mobile Client Page Design Time', 'ADF Mobile Help', "ADF Mobile Page Flow Design Time". I also cross checked to see if I can create a page by using the New-Gallery Assistant AMX, and I am unable to see ADF Mobile in the list. Also, when I click on tools-> Preferences, I see not the ADF Mobile node in the tree view under ADF BC.

    pointers?
    your

    Hello

    File--> New--> Applications

    should show a Mobile Application (ADF) input. If it is not there then the installation of the extension failed (have you restarted the IDE after installation of the extension)?

    That's what I see when you select Help--> on--> Extensions

    ADF Mobile Client Page Flow Design Time oracle.adf.pageflow.nmc.dt 11.1.2.3.39.62.76.1 loaded triggers
    Framework Mobile ADF oracle.adf.mobile 11.1.2.3.39.62.94 Fully Loaded
    ADF Mobile oracle.adf.mobile.doc 11.1.2.3.39.62.94 Fully Loaded help
    ADF Mobile Page Flow Design Time oracle.adf.pageflow.mobile.dt 11.1.2.3.39.62.76.1 Fully Loaded
    Oracle ADF Mobile oracle.wireless.dt 11.1.2.3.39.62.76.1 loaded triggers

    Frank

  • ADF Mobile Client Oracle extension not found in JDeveloper 11.1.1.2.0?

    Hello. I tried to install the extension for mobile development in the ADF, but unfortunately I could not find the extension.

    I went to help-> check for updates-> official Oracle Extensions and updates. Yet, I have not found the * 'Oracle ADF Mobile Client extension' * it.

    I'm under 11.1.1.2.0 Jdeveloper.

    What is the framework Oracle ADF Mobile Client compatible for 11.1.1.2.0? Or is it not available? Can someone enlighten me please? Thank you!

    It is no longer available - see the last update on the ADF Mobile page section: http://www.oracle.com/technetwork/developer-tools/adf/overview/adf-mobile-096323.html

Maybe you are looking for