To build an apk for android device, you need to first degrade your android version to 6.2.3.
Here is the command to remove the existing Android version.
Steps: You have to go to your Hybrid folder in your root directory.
command: cordova platform remove android
Example: D:\SVN Repo\07-06-2018\MOBILEAPP\hybrid>cordova platform remove android
Here is the command to add the Android version.
Here is the command to remove the existing Android version.
Steps: You have to go to your Hybrid folder in your root directory.
command: cordova platform remove android
Example: D:\SVN Repo\07-06-2018\MOBILEAPP\hybrid>cordova platform remove android
Here is the command to add the Android version.
command: cordova platform add android@6.2.3
Example: D:\SVN Repo\07-06-2018\MOBILEAPP\hybrid>cordova platform add android@6.2.3
Once you have added the Android version then build your apk file to run on the mobile device.
Grunt command:
Build project: build --platform=android
Run project: serve --platform=android --device=Nexus_6P_API_27
Ojet command to generate the debug- apk file
ojet build android
Note : Use ojet command to build the apk. This is more stable.
Your apk path:
D:/SVN Repo/07-06-2018/MOBILEAPP/hybrid/platforms/android/build/outputs/apk/android-debug.apk



to open the side menu and select
to get to Storage Classic.



