OK, problem is with JDK, I was using Open JDK 8 and it was missing tools.jar for some reason, I switched to Oracle JDK and now it works like a charm!
More Related Contents:
- How to manually include external aar package using Gradle for Android
- How to create a release signed apk file using Gradle?
- How do I show dependencies tree in Android Studio?
- How to set versionName in APK filename using gradle?
- Multi flavor app based on multi flavor library in Android Gradle
- Android Studio how to package single AAR from multiple library projects?
- Gradle DSL method not found: ‘runProguard’
- Android Studio: Gradle sync failed: Could not HEAD ‘…’. Received status code 502 from server: Bad Gateway [closed]
- gradle build fails on lint task
- Gradle version 2.2 is required. Current version is 2.10
- how can I add the aidl file to Android studio (from the in-app billing example)
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Kotlin Error : Could not find org.jetbrains.kotlin:kotlin-stdlib-jre7:1.0.7
- Using build types in Gradle to run same app that uses ContentProvider on one device
- Why does Gradle build my module in Release mode when the app is in Debug
- How to automatically uninstall android app from device before installing a new version
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- Error: Execution failed for task ‘:app:clean’. Unable to delete file
- Change apk name with Gradle
- The ‘kotlin-android-extensions’ Gradle plugin is deprecated
- How do I read properties defined in local.properties in build.gradle
- How to set up gradle and android studio to do release build?
- Confused about testCompile and androidTestCompile in Android Gradle
- Android Studio and Gradle build error
- Generate JavaDocs with Android Gradle plugin
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- After update android studio could not create parent directory for lock file
- com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.fasterxml.jackson.core/jackson-databind/pom.xml
- Android build gradle is too slow (Dependency Resolution)
- Failed to resolve: com.android.support.design:25.4.0