When deploying ADF mobile application using JDeveloepr 11.1.2.4.0 to Android Emulator, following error appears on deployment log and won't allow to deploy application.
It happens due to non-availability of following files/directories in android-sdk/platform-tools directory. In the latest release of Android SDK(Android 4.2.2 API 17), listed files/directories moved from platform-tools to build-tools directory. But still JDeveloper refers to platform-tools directory. Instead of waiting for fix/update from Oracle, following quick fix will help to finish deployment.
Files:
aapt.exe
dx.bat
Directory:
\lib
Quick Fix Steps:
1. Open command prompt with admin privileges in Windows
2. Create symbolic links in platform-tools directory for the listed files exists in build-tools directory.
mklink E:\Android\sdk\platform-tools\aapt.exe E:\Android\sdk\build-tools\android-4.2.2\aapt.exe
It happens due to non-availability of following files/directories in android-sdk/platform-tools directory. In the latest release of Android SDK(Android 4.2.2 API 17), listed files/directories moved from platform-tools to build-tools directory. But still JDeveloper refers to platform-tools directory. Instead of waiting for fix/update from Oracle, following quick fix will help to finish deployment.
Files:
aapt.exe
dx.bat
Directory:
\lib
Quick Fix Steps:
1. Open command prompt with admin privileges in Windows
2. Create symbolic links in platform-tools directory for the listed files exists in build-tools directory.
mklink E:\Android\sdk\platform-tools\aapt.exe E:\Android\sdk\build-tools\android-4.2.2\aapt.exe
mklink /D
E:\Android\sdk\platform-tools\lib
E:\Android\sdk\build-tools\android-4.2.2\lib
No comments:
Post a Comment
Provide your thoughts !