1. Create ionic4 & Angular project
ionic start myApp tabs --type=angular
2. Add ios and android platforms
1 ionic cordova prepare ios
2 ionic cordova prepare android
3. Run the project
1 ionic cordova run ios
2 ionic cordova run android
4. Package into apk
< div class="code">
ionic cordova build android --release
5. Signature
- Rename the packaged apk to app .apk into the bin directory of jdk
- Run cmd in the bin directory of jdk as an administrator, and run the following command to generate a signature file
keytool -genkey -v -keystore [name].keystore -alias [name].keystore -keyalg RSA -validity 20000
div>
- Run the following command to sign the APK
jarsigner -verbose -keystore [name].keystore- signedjar complete.apk app.apk [name].keystore
If running on a browser
ionic start myApp tabs --type=angular
1 ionic cordova prepare ios
2 ionic cordova prepare android
1 ionic cordova run ios
2 ionic cordova run android
ionic cordova build android --release
keytool -genkey -v -keystore [name].keystore -alias [name].keystore -keyalg RSA -validity 20000
jarsigner -verbose -keystore [name].keystore -signedjar complete.apk app.apk [name].keystore
ionic serve
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3778 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC