0👍
Easier way is to first import your project to Android studio
To import
- Open Android Studio
- Open the
platform/android
folder of your project in Android Studio
To Build
- Navigate from the toolbar
Build -> Generate Signed Apk
- Create your Key file (you will need to save this key file for future updates)
- Select
release
andV1 and V2 signature
variants and off you go..
Don’t forget that you will need to first build your Cordova project
usingcordova build android
command before executing the above
steps.
You can find detailed documentation on from the Cordova Official Documentation.
0👍
you can read this topic
it’s very useful for building APK’s and sign them
- [Vuejs]-I have some question about Vue component structure
- [Vuejs]-How to redirected to home after successful login with Vue.JS
-1👍
Steps to build debug APK for testing:
1). Add Android Platform ionic cordova platform add android
2). Connect your phone(enable Developer Mode from settings) and run ionic cordova run android
// this will build and install directly in your device.
3). When app starts open Chrome and inspect your application and debug it.
Source:stackexchange.com