Install apache cordova in your system.
After that follow the steps.
After that follow the steps.
- Create a cordova project.
cordova create hello com.example.hello HelloWorld - Navigate to hello folder
cd hello - Add android platform
cordova platform add android - open www folder and keep your html files and make sure index.html is the main file.
- Build the apk file
cordova build - apk file will be genrated in the following path
hello/platforms/android/build/outputs/apk/android-debug.apk - Before launching the app in playstore you need to sign the apk by following the steps here
No comments:
Post a Comment