Guides

Construct 2 สร้าง APK จากเริ่มต้นจนถึงส่งขึ้น Playstore ด้วยคำสั่ง Cordova CLI



1.–prepare–
cordova prepare
(–Your_Folder–)

2.–Build Debug APK–
cordova build android
(–Your_Folderplatformandroidappbuildoutputsapkdebug)

3.–Build Release Unsigned APK–
cordova build –release android
(–Your_Folderplatformandroidappbuildoutputsapkrelease)

4.–Create a Keystore–
keytool -genkey -keystore Your_Keystore_Name.keystore -alias Your_Alias_App -keyalg RSA -keysize 2048 -validity 9999 -v
(–Your_Folder)

5.–Build Release & Signing APK–
cordova build android –release — –keystore=”Your_Keystore_Name.keystore” –storePassword=”xxxxxxxx” –alias=”Your_Alias_App” –password=”xxxxxxxx”
(–Your_Folderplatformsandroidappbuildoutputsapkrelease)

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *