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

    [Resolved] Cordova requirements "Android SDK not found." on Ubuntu 16.04. based OS.

    Framework
    android studio cordova setup
    3
    4
    12523
    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.
    • P
      peter last edited by

      Hello,

      I’m not sure where I would post this. But after searching for hours to solve the problem I’m keen to shorten the search for others.

      I followed the steps to get the Cordova wrapper (http://quasar-framework.org/guide/cordova-wrapper.html) set up, installed Android Studio and set the paths. Still I got “Android SDK not found.” when running “cordova requirements” (with the correct defined paths):

      $ cordova requirements
      
      Requirements check results for android:
      Java JDK: installed 1.8.0
      Android SDK: installed true
      Android target: not installed 
      Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
      Gradle: not installed 
      Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
      Looked here: /home/peter/Android/Sdk/tools/templates/gradle/wrapper
      Error: Some of requirements check failed
      

      At the end replacing the tools as described here: https://github.com/meteor/meteor/issues/8464#issuecomment-288112504 solved the issue for me:

      $ cordova requirements
      
      Requirements check results for android:
      Java JDK: installed 1.8.0
      Android SDK: installed true
      Android target: installed android-14,android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-23,android-24,android-25
      Gradle: installed 
      

      I hope posting this helps others to get started easier. Razvan, feel free to move or delete if undesired.

      Peter

      E 1 Reply Last reply Reply Quote 3
      • rstoenescu
        rstoenescu Admin last edited by

        @peter Hi Peter, thanks for sharing. Would you care for a documentation PR to add your findings on this specific case?

        1 Reply Last reply Reply Quote 0
        • P
          peter last edited by

          Sure, I’ll add a troubleshooting section to the Cordova section in the docs.

          1 Reply Last reply Reply Quote 1
          • E
            eae @peter last edited by

            I had the same issue, and followed this article

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