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

    Installed apk generated by quasar dev / build command does not work in Android

    Help
    10
    22
    7371
    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.
    • K
      ksathya last edited by

      Hi,

      I finally got a chance to debug the app using android studio and found the device could not be installed because it was ‘not signed’!

      I followed the steps given in below SO link (especially answers by cfprabhu and Jon) and rebuilt for release…It installed without any issues!

      https://stackoverflow.com/questions/26449512/how-to-create-a-signed-apk-file-using-cordova-command-line-interface

      Thanks for all!!

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

        @ksathya yep!!! my earlier update confirms that! (sorry for not mentioning you). http://forum.quasar-framework.org/topic/1979/installed-apk-generated-by-quasar-dev-build-command-does-not-work-in-android/6

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

          @rstoenescu worth to add it to the docs?

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

            Well, the signing part is under the Publishing to Store, but I guess it can be mentioned in other places too. Thanks if you wanna make docs additions!

            1 Reply Last reply Reply Quote 0
            • E
              edudesouza last edited by

              How to resolve that:
              quasar build -m cordova -T android -t mat
              cd src-cordova
              cordova build

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

                It did not resolve for me ,any ideas. Thanks in advance.

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

                  @king_of_leon you need to sign the apk https://quasar.dev/quasar-cli/developing-cordova-apps/publishing-to-store#Android-Publishing, but if you’re just building for test, then just run the command quasar build -m android --debug.

                  1 Reply Last reply Reply Quote 0
                  • king_of_leon
                    king_of_leon last edited by king_of_leon

                    Thanks for the quick response, I want to permanently install in my android. I tried it after signing a key got stuck in jarsigne and zipalign. jarsigner says “Please specify jarfile name” but I did. And zipalign says not found command.

                    Appreciate the help 🙂 Great Community ❤

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

                      that guide is all good, if you’re stuck somewhere then just google the error logs. anyway the --debug command is sufficient, the other is just needed if you are planning to publish your app in google app store.

                      1 Reply Last reply Reply Quote 0
                      • king_of_leon
                        king_of_leon last edited by

                        Got it thank you so much . Loving this framework more and more!

                        1 Reply Last reply Reply Quote 1
                        • M
                          mdcode224 @ksathya last edited by

                          @ksathya You need to sign your app before installing it on a device.
                          instructions are here Publishing to Store

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

                            Try inserting <preference name=“loadUrlTimeoutValue” value=“700000” /> in your config.xml. it worked for me

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