GitHub user busaeed added a comment to the discussion: Android target: not 
installed

Thank you for your response. I followed your solution but still not working:

```
Requirements check results for android:
Android SDK: installed true
Android target: not installed
Command failed with exit code 1: avdmanager list target
'avdmanager' is not recognized as an internal or external command,
operable program or batch file.
Gradle: installed C:\Gradle\gradle-8.7\bin\gradle.BAT
Some of requirements check failed
```

Building not working either although I installed Android SDK Build Tools 35-rc3:

```
PS C:\Users\Lenovo\Documents\myapp> cordova build android
Checking Java JDK and Android SDK versions
ANDROID_HOME=C:\Users\Lenovo\AppData\Local\Android\Sdk (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: C:\Users\Lenovo\AppData\Local\Android\Sdk
Subproject Path: CordovaLib
Subproject Path: app

FAILURE: Build failed with an exception.

* Where:
Script 
'C:\Users\Lenovo\Documents\myapp\platforms\android\CordovaLib\cordova.gradle' 
line: 75

* What went wrong:
A problem occurred evaluating script.
> No usable Android build tools found. Highest 33.x installed version is 
> 32.0.0; Recommended version is 33.0.2.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 933ms
Command failed with exit code 1: 
C:\Users\Lenovo\Documents\myapp\platforms\android\gradlew -b 
C:\Users\Lenovo\Documents\myapp\platforms\android\build.gradle cdvBui
ldDebug
```


GitHub link: 
https://github.com/apache/cordova/discussions/475#discussioncomment-9372460

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to