Here I post my error log for you.
[02:22:58 AM] ---- Deployment started. ----
[02:22:58 AM] Target platform is (Android).
[02:22:58 AM] Beginning deployment of MAF application "Application2" to Android device using profile "Android1".
[02:22:58 AM] Capturing state changes of MAF application source files in application scope for just-in-time "Clean All" analysis.
[02:22:58 AM] The content of file config.json is unchanged since the previous Android deployment.
[02:22:58 AM] Changes to workspace or project properties have been detected for the deploying application. This will require a just-in-time "Clean All" on MAF application build and deployment content to ensure a good deployment.
[02:22:58 AM] Performing just-in-time "Clean All" on MAF application build and deployment content to ensure a good deployment.
[02:22:58 AM] Checking state of Android Debug Bridge server...
[02:23:03 AM] Started Android Debug Bridge server.
[02:23:03 AM] Verifying a single Android device is online and connected to the ADB server...
[02:23:03 AM] Unable to obtain the version of ARM supported by the Android device. The application may not work correctly if the device does not support at least ARMv6.
[02:23:03 AM] Deleting some previously deployed content.
[02:23:03 AM] Creating file config.json
[02:23:03 AM] Creating debug key store...
[02:23:04 AM] Running dependency analysis...
[02:23:04 AM] Building...
[02:23:04 AM] Deploying 3 profiles...
[02:23:04 AM] Verifying project is a MAF project...
[02:23:04 AM] Wrote Archive Module to C:\Users\Aidin\Projects\Application2\ViewController\deploy\ViewController_MobileFeatureArchive1.jar
[02:23:04 AM] Verifying project is a MAF project...
[02:23:04 AM] Wrote Archive Module to C:\Users\Aidin\Projects\Application2\ApplicationController\deploy\ApplicationController_MobileFeatureArchive1.jar
[02:23:04 AM] Copying FARs to the MAF application...
[02:23:04 AM] Extracting Feature Archive file, "ApplicationController_MobileFeatureArchive1.jar" to deployment folder, "ApplicationController".
[02:23:04 AM] Extracting Feature Archive file, "ViewController_MobileFeatureArchive1.jar" to deployment folder, "ViewController".
[02:23:05 AM] Copying .adf files...
[02:23:05 AM] Copying adfmf-manifest.properties file...
[02:23:05 AM] Copying application image files...
[02:23:05 AM] Creating Android preferences XML files...
[02:23:05 AM] Creating the Android template...
[02:23:05 AM] Command-line executed: "C:\Oracle\JDK_1.8.77\bin\java" -jar "C:\Users\Aidin\Jdeveloper2.1.0.0\jdeveloper\jdev\extensions\oracle.maf\maf-helper.jar" createTemplate -config "C:\Users\Aidin\Projects\Application2\deploy\Android1\config.json"
[02:23:06 AM] Installing "cordova-plugin-globalization" for android
[02:23:07 AM] Installing "maf-cordova-plugin-network-access" for android
[02:23:07 AM] Copying security related files to the MAF application...
[02:23:07 AM] Creating the Android application...
[02:23:08 AM] Command-line executed from path: /C:/Users/Aidin/Projects/Application2/deploy/Android1/android_template/
[02:23:08 AM] Command-line executed: "C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\gradlew.bat" assembleRelease -Pmaf_secure_props=maf_key_store_password,maf_key_password
[02:23:09 AM] NDK is missing a "platforms" directory.
[02:23:09 AM] If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to E:\Android\SDK_V24\ndk-bundle.
[02:23:09 AM] If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
[02:23:09 AM]
[02:23:11 AM] :app:makeJavaResZips
[02:23:11 AM] :app:preBuild
[02:23:11 AM] :app:preReleaseBuild
[02:23:11 AM] :app:checkReleaseManifest
[02:23:11 AM] :app:preDebugBuild
[02:23:12 AM] :app:prepareAndroid_templateContainerUnspecifiedLibrary
[02:23:12 AM] :app:prepareAndroid_templateCordovaUnspecifiedLibrary
[02:23:12 AM] :app:prepareAndroid_templateIDMMobileSDKUnspecifiedLibrary
[02:23:12 AM] :app:prepareReleaseDependencies
[02:23:12 AM] :app:compileReleaseAidl
[02:23:12 AM] :app:compileReleaseRenderscript
[02:23:12 AM] :app:generateReleaseBuildConfig
[02:23:12 AM] :app:generateReleaseResValues
[02:23:12 AM] :app:generateReleaseResources
[02:23:13 AM] :app:mergeReleaseResources
[02:23:13 AM] :app:processReleaseManifest
[02:23:13 AM] C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\app\AndroidManifest.xml:4:5-20:19 Warning:
[02:23:13 AM] application@android:icon was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
[02:23:13 AM] C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\app\AndroidManifest.xml:4:5-20:19 Warning:
[02:23:13 AM] application@android:name was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
[02:23:13 AM] C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\app\AndroidManifest.xml:4:5-20:19 Warning:
[02:23:13 AM] application@android:supportsRtl was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
[02:23:13 AM] C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\app\AndroidManifest.xml:4:5-20:19 Warning:
[02:23:13 AM] application@android:installLocation was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
[02:23:13 AM] C:\Users\Aidin\Projects\Application2\deploy\Android1\android_template\app\AndroidManifest.xml:4:5-20:19 Warning:
[02:23:13 AM] application@android:debuggable was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
[02:23:13 AM] :app:processReleaseResources
[02:23:13 AM] :app:generateReleaseSources
[02:23:13 AM] :app:incrementalReleaseJavaCompilationSafeguard
[02:23:13 AM] :app:javaPreCompileRelease
[02:23:13 AM] :app:compileReleaseJavaWithJavac FAILED
[02:23:13 AM]
[02:23:13 AM] FAILURE: Build failed with an exception.
[02:23:13 AM]
[02:23:13 AM] * What went wrong:
[02:23:13 AM] Execution failed for task ':app:compileReleaseJavaWithJavac'.
[02:23:13 AM] > Could not find tools.jar. Please check that C:\Oracle\JRE_1.8.77 contains a valid JDK installation.
[02:23:13 AM]
[02:23:13 AM] * Try:
[02:23:13 AM] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[02:23:13 AM]
[02:23:13 AM] BUILD FAILED
[02:23:13 AM]
[02:23:13 AM] Total time: 5.337 secs
[02:23:13 AM] Shutting down Android Debug Bridge server...
[02:23:13 AM] Deployment cancelled.
[02:23:13 AM] ---- Deployment incomplete ----.
[02:23:13 AM] Failed to create the Android application. Encountered exception: {0}.
[02:23:13 AM] Command-line execution failed (Return code: 1)
please help me to overcome this. Thanks.