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

    [Solved] Error: "Could not find an installed version of Gradle"

    Help
    cordova gradle qusar-cli
    1
    2
    1107
    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.
    • R
      realtebo last edited by realtebo

      I am using Quasar since 1 year.

      Yesterday I started working on a new project, for a android/ios app but using a new pc.
      I installed Android studio, quasar cli and tried to start the project and run in cordova mode

      I got this

      quasar dev -m android
      
       Converting to long form: -m cordova -T android
      
       Dev mode.......... cordova
       Pkg quasar........ v1.14.0
       Pkg @quasar/app... v1.9.6
       Debugging......... enabled
       Running mode...... cordova
      
       App · Reading quasar.conf.js
      ? What external IP should Quasar use? 192.168.20.43
       App · Checking listening address availability (192.168.20.43:3000)...
       App · Generating legacy js code (ES5); use "--modern" param for ES6+
       App · Extending Cordova Webpack config
       App · Generating Webpack entry point
       App · Booting up...
      
       • Compiling:
       └── Cordova ████████████████████ 100% done in 21483 ms
      
      
      
       DONE  Compiled successfully in 21490ms                                                                                                                                                               17:51:47
      i 「wds」: Project is running at http://192.168.20.43:3000/
      i 「wds」: webpack output is served from    
      i 「wds」: 404s will fallback to /index.html
       App · Updated Cordova config.xml   
       App · Running "cordova run android"
      
      No Java files found that extend CordovaActivity.
      
       App · Command "cordova" failed with exit code: 1
       App · Updated Cordova config.xml
       App · ⚠️  [FAIL] Cordova CLI has failed
      

      In this pc there is already android studio 4.

      I google around a bit but cannot find infos different than ‘install gradle manually’. I never needed to do this before.

      1 Reply Last reply Reply Quote 0
      • R
        realtebo last edited by

        Never mind… instructions are changed: https://quasar.dev/quasar-cli/developing-cordova-apps/preparation

        I must install manually gradle now.

        No problem.

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