Search code examples
javaandroidmavenjdeveloperoracle-adf-mobile

Download Android SDK Tools Revision 21.1 JDeveloper / ADF Mobile


I want to download the Android SDK Tools Revision 21.1. I have seen android website but I have found no way to download it. It is required as I am working on JDeveloper ADF Mobile and it follows the Android SDKs old directory structure.

Although It is good practice to work with latest SDKs, but here I have problem working with Revision 22 as JDeveloper doesn't support latest Android SDK directory structure (Rev 22).

For JDeveloper: Following links might give them why I need old SDK version.

Let me know how to download Rev 21.x or provide me the solution of this problem. One solution the above link gave was to copy and paste the required files from build-tools to platform-tools but still, it didn't solve the issue.

Thank You!


Solution

  • In my case it is working with C:\AndroidSDK\sdk\build-tools\android-4.4.2.

    This part I took it from the Mobile Developer's Guide for Oracle Application Development Framework (Deploying ADF Mobile applications)

    Note:

    The structure of the SDK tools is changed in the release of Revision 22, with the build tools components relocated from the platform-tools directory to the build-tools directory.

    To enable deployment, the Android Build Tools Location field must reference the location of one of these build tools, the aapt file (aapt.exe on Windows systems).

    The location of this file differs depending on the SDK revision.

    For Revision 22, this file is located within the build-tools directory (such as SDK Installation\adt-bundle-windows-x86\sdk\build-tools\ Android-4.n).

    For earlier revisions, it is located within the platform-tools directory (such as SDK Installation\adt-bundle-windows-x86\platfrom-tools). ADF Mobile queries the Android SDK for the location of the appt file and populates the Android Build Tools Location field accordingly.

    For Revision 22 of the SDK, ADF Mobile populates the field with the latest version of the build-tools directory that is installed on the development computer.

    For revisions prior to 22, ADF Mobile populates the field with the location of the platform-tools directory. In this case, the field is read-only.