Generate APK file
-
I’m quite new to quasar and recently built a small app. How do i publish my app for the android market after building? I mean, how to i generate a signed apk file?
-
Inside Cordova dir if you have already wrapped Quasar app with Cordova just run: Cordova build [platform]. Platform stands for ios/android
-
Here’s a great tutorial from Ionic. It applies to Quasar too. http://ionicframework.com/docs/v1/guide/publishing.html
-
Thanks…it worked. Now i get two unsigned apks, armv7 and x86… Which should i sign?
-
Sign the armv7.
-
Thanks razvan. It works
-
Hello.
I just generated the apk file and I don´t know if I did something wrong. Yes, the two apk files were generated but this files are so large. More than 30MB.
Is this normal? Because I have done some apps with ionic (that also uses cordova) and the apk size is not more than 4 MB. -
Hi maybe the matter is crosswalk. As it was recently know crosswalk it will no longer get support. If it’s that the issue maybe you should try uninstalling it, your bundle size will be reduced a lot.
-
Hello, v0.15 came out. I tried doing
quasar build -m cordova -T android
an unsigned apk was generated successfully but I can’t install it on my device. It says the package is corrupted. Have you guys encountered the same problem? -
I have successfully installed 0.15 apk’s on my device without any problem. Anyway your problem is not related to Quasar. Probably a cordova issue. Try to update cordova to latest.
-
I have the same problem as yev with “quasar build -m cordova -T android”
-
"quasar build -m cordova -T android” is still building corrupt apk. Any suggestion?
-
@jaz basically signing the apk should solve the issue. Would you please check this? http://forum.quasar-framework.org/topic/1979/installed-apk-generated-by-quasar-dev-build-command-does-not-work-in-android
-
-
i’m unable to publish my app in google play store, trying to sign my apk with 10000 days, but when upload in play store getting an error “You uploaded an APK or Android App Bundle signed with a certificate that expires too soon. You need to sign your APK or Android App Bundle with a certificate that expires farther into the future.” please help me…
-
-
@atulfinflock https://quasar.dev/quasar-cli/developing-cordova-apps/publishing-to-store#Introduction
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 20000
. -
I think you have to generate keystore file to sign your apk. For your references i created an article on this
https://nsrtechx.com/how-to-sign-quasar-cordova-app/
https://nsrtechx.com/cordova-sign-apk-for-production/