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

    cordova android app - webpage not available error ( quasar v15.10 )

    Help
    3
    5
    1277
    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.
    • S
      Sujan Dev last edited by

      Hi,
      i have developed an application in Quasar14.9 which was good. now i converted the whole app in Version15.10 and build android apk using quasar dev -m cordova -T android but the new version is very slow. sometime i got the error Webpage not available
      0_1523088725605_Screenshot_20180407-135128.png

      in route.js i tryied both lazy load / code split and load all layouts/pages/components into the initial bundle .

      if i load all layouts/pages/components into the initial bundle the performance is better but not like version 14.9.

      is there anybody who can guide me.

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

        Its too late but i think i should share the solution 🙂 . Your development computer and mobile device should be on the same network.

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

          i get this same error page after apk build. How to solve it?

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

            @kishsak you shouldn’t get this if you run quasar build ... unless you still have the old dev apk in your device, then you should remove that and install the one that you got from the build command.

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

              ok thanks for your reply @metalsadman. I found a solution for this:

              1. Build apk in the root folder of the quasar app using quasar build command.
              2. if you run the apk in the /Volumes/HP_RECOVERY/www/maskmeet-mobile/dist/cordova/android/apk/release it will result in “web page not found” as we are running a dev server to test the app in hot reload as it points to dev server IP.
              3. So what i did is i jumped into src-cordova folder in terminal and run “cordova build --release android” command now i get the apk in “/Volumes/HP_RECOVERY/www/maskmeet-mobile/src-cordova/platforms/android/app/build/outputs/apk/release”
                4.Then i jarsign and zipalign the apk inside the folder mentioned in step 3 “app-release-unsigned.apk” .
              4. Now I installed this apk in my android device now the app works without any error.
              1 Reply Last reply Reply Quote 0
              • First post
                Last post