No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Generate APK file

    Help
    14
    18
    10766
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tosinsoremekun last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • G
        guidoec last edited by

        Inside Cordova dir if you have already wrapped Quasar app with Cordova just run: Cordova build [platform]. Platform stands for ios/android

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by rstoenescu

          Here’s a great tutorial from Ionic. It applies to Quasar too. http://ionicframework.com/docs/v1/guide/publishing.html

          1 Reply Last reply Reply Quote 1
          • T
            tosinsoremekun last edited by

            Thanks…it worked. Now i get two unsigned apks, armv7 and x86… Which should i sign?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              Sign the armv7.

              1 Reply Last reply Reply Quote 1
              • T
                tosinsoremekun last edited by

                Thanks razvan. It works

                1 Reply Last reply Reply Quote 1
                • O
                  okmkey45 last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • G
                    guidoec last edited by

                    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.

                    1 Reply Last reply Reply Quote 1
                    • yev
                      yev last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • M
                        MagoSchmidt last edited by MagoSchmidt

                        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.

                        1 Reply Last reply Reply Quote 2
                        • I
                          ironirc last edited by

                          I have the same problem as yev with “quasar build -m cordova -T android”

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jaz last edited by

                            "quasar build -m cordova -T android” is still building corrupt apk. Any suggestion?

                            P 1 Reply Last reply Reply Quote 1
                            • P
                              pd76 @Jaz last edited by

                              @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

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sujan Dev last edited by

                                @Jaz @yev you need to signed the apk to install in device . otherwise you can use quasar dev -m cordova -T android for debug apk . which you can install in your device for testing.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  atulfinflock last edited by

                                  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…

                                  dobbel metalsadman 2 Replies Last reply Reply Quote 0
                                  • dobbel
                                    dobbel @atulfinflock last edited by dobbel

                                    @atulfinflock

                                    50 years!

                                    -validity 20000

                                    https://stackoverflow.com/questions/23280371/sign-android-apk-with-a-certificate-that-expires-further-in-to-the-future

                                    1 Reply Last reply Reply Quote 0
                                    • metalsadman
                                      metalsadman @atulfinflock last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nusry last edited by

                                        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/

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post