B
B
BonBon Slick2020-08-31 08:17:18
Java
BonBon Slick, 2020-08-31 08:17:18

No installed build tools found. Install the Android build tools version 19.1.0 or higher.?

FAILURE: Build failed with an exception.

* Where:
Script '/var/www/test/cordova/platforms/android/CordovaLib/cordova.gradle' line: 68

* What went wrong:
A problem occurred evaluating project ':app'.
> No installed build tools found. Install the Android build tools version 19.1.0 or higher.

Caused by: java.lang.RuntimeException: No installed build tools found. Install the Android build tools version 19.1.0 or higher.

[email protected]:~/Android/Sdk/build-tools$ ls -la
total 20
drwxr-xr-x  5 bonbon bonbon 4096 Aug 31 06:58 .
drwxr-xr-x 14 bonbon bonbon 4096 Aug 31 06:58 ..
drwxr-xr-x  5 bonbon bonbon 4096 Jul 30 21:21 28.0.3
drwxr-xr-x  6 bonbon bonbon 4096 Jul 30 20:08 30.0.1
drwxr-xr-x  6 bonbon bonbon 4096 Aug 31 06:58 30.0.2


[email protected]:~/Android/Sdk/build-tools$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0+deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)

[email protected]:~/Android/Sdk/build-tools$ echo $PATH
/home/bonbon/.yarn/bin:/home/bonbon/.config/yarn/global/node_modules/.bin:$HOME/Android/Sdk/platform-
tools:$HOME/Android/Sdk/tools:/opt/gradle/gradle-6.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question