Android Target and the Android SDK not found or installed... but it is all installed, how to solve?

Asked

Viewed 1,831 times

0

I had to format my PC, Windows, and installed everything again: Java, Git, Python, Android Studio, Node, Ionic 3, Cordova, everything. And it was running before normal.

Now I’m with this error, not being able to run my application Ionic 3 with Cordova and Android.

cordova requirements android

Requirements check results for android:
Java JDK: installed
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: C:\Users\Ramos\AppData\Local\Android\Sdk\tools\templates\gradle\wrapper
Error: Some of requirements check failed

But my ANDROID_HOME Environment is correct:

inserir a descrição da imagem aqui

I already downloaded the Tools from the Android Studio site and put in the folder. I made all the recommendations I’ve seen on the internet.

As requested in the comments, the print of the SDK folder:

inserir a descrição da imagem aqui

How to solve?

  • 1

    And there’s a print of the contents of the briefcase Android/Sdk?

  • Hi @Guilhermenascimento edited with print.

  • Doesn’t have the SDK Manager.exe nor the AVD Manager.exe, I don’t know where you got this SDK from, but surely this missing thing

  • Ramos, I had a similar problem and solved using the android studio itself, not use for programming, but use it to manage sdk and Avd. Try using it there, anything comments that we try to help!

  • @Ramos other than C:\Users\Ramos\AppData\Local\Android\Sdk also put the C:\Users\Ramos\AppData\Local\Android\Sdk\tools and C:\Users\Ramos\AppData\Local\Android\Sdk\platforms on its ANDROID_HOME

1 answer

1


I strongly recommend the use of Android Studio, although you will not develop in it, it is great to maintain the SDK. In addition to the installation solve the environment variables: Android Studio

inserir a descrição da imagem aqui

  • I did it. It didn’t work.

  • There in your android studio has as you see the path of android home, copy it and run the command: set ANDROID_HOME=C: installation Location android-sdk set PATH=%PATH%;%ANDROID_HOME% tools;%ANDROID_HOME% Platform-tools

Browser other questions tagged

You are not signed in. Login or sign up in order to post.