Navigation

    Quasar Framework

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

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

    Framework
    2
    3
    492
    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 ksathya

      0
      down vote
      favorite
      I am building a quasar-framework app.

      Running the “quasar dev -m cordova -T android -t mat” command, with mobile connected to the computer works correctly (picks my device’s IP as external IP)…

      (The android version installed in my mobile is 5.1)

      However, when I install the ‘apk’ generated by above command in mobile, it looks for the same external IP in mobile and says ‘cannot connect to 192…:/index.html’

      When I use ‘build for production’ command (quasar build -m cordova -T android -t mat) and try to copy the apk generated, the device says ‘App cannot be installed’.

      How do I install the apk generated by dev /build commands in the device?

      TIA

      1 Reply Last reply Reply Quote 0
      • K
        ksathya last edited by

        The exact error, when not connected to Internet, is:
        The webpage at http://192…:8080/index.html could not be loaded because:
        net: ERR_ADDRESS_UNREACHABLE

        When connected to Internet, it says:
        The connection to the server was unsuccessful (http://…:8080/index.html)

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

          Hi, Please do not duplicate threads. Your initial thread is: http://forum.quasar-framework.org/topic/1979/installed-apk-generated-by-quasar-dev-build-command-does-not-work-in-android

          Locking this.

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