Friday, 29 April 2016

Android app development using Apache cordova

Install apache cordova in your system.
After that follow the steps.

  1. Create a cordova project.
    cordova create hello com.example.hello HelloWorld
  2. Navigate to hello folder
    cd hello
  3. Add android platform
    cordova platform add android
  4. open www folder and keep your html files and make sure index.html is the main file.
  5. Build the apk file
    cordova build
  6. apk file will be genrated in the following path
    hello/platforms/android/build/outputs/apk/android-debug.apk
  7. Before launching the app in playstore you need to sign the apk by following the steps here

No comments:

Post a Comment