Right click your application > Deploy > New deployment profile
Select ADF Mobile for Android and give it a name, press 'OK' twice.
Right click your application > Deploy > Here you will see your freshly made deployment profile, click it choose for 'Deploy application to package' press next and finish and wait for JDev to build.
Now you will find your .apk in the 'deploy' folder of your application.
thank you user404
but i get this error when i click Deploy
[01:12:45 AM] Deployment cancelled.
[01:12:45 AM] ---- Deployment incomplete ----.
[01:12:45 AM] The Android Dalvik file (.dex) does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)
I am facing similar problem can you tell me how it resolved. I have used dex.bat with below command externally [*dx.bat --dex --verbose --output C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes.dex C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes*]
using this command I am able to create .dex file but after deploying it to emulator it always shows "Application stopped unfortunately"