https://wiki.videolan.org/AndroidCompile
At the "Setup Gradle build system" step when I run compile.sh it fails:
At /usr/lib/jvm I found these folders:...
:api:prepareReleaseDependencies
:api:compileReleaseAidl
:api:compileReleaseRenderscript
:api:generateReleaseBuildConfig
:api:mergeReleaseShaders
:api:compileReleaseShaders
:api:generateReleaseAssets
:api:mergeReleaseAssets
:api:generateReleaseResValues
:api:generateReleaseResources
:api:mergeReleaseResources
:api:processReleaseManifest
:api:processReleaseResources
:api:generateReleaseSources
:api:incrementalReleaseJavaCompilationSafeguard
:api:compileReleaseJavaWithJavac
:api:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:api:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':api:compileReleaseJavaWithJavac'.
> Could not find tools.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
default-java
java-1.8.0-openjdk-amd64
java-8-openjdk-amd64
It seems like none of them contains tools.jar. What am I missing?
Just in case, I use a clean Ubuntu machine, so there is nothing installed but those things mentioned in the guide and default software.