Top "Gradle" questions

Gradle is a project build automation tool that uses a Groovy DSL.

Error:Failed to open zip file. Gradle's dependency cache may be corrupt

I updated android studio 2.3 and there is a bug, gradle doesn't build and it keeps giving me the same error …

android android-studio gradle error-handling sdk
Can the Android layout folder contain subfolders?

Right now, I'm storing every XML layout file inside the 'res/layout' folder, so it is feasible and simple to …

android xml android-layout gradle build.gradle
Android studio, gradle and NDK

I am very new to this whole gradle and Android Studio support. I have managed to convert my android project …

android android-ndk gradle android-studio
Execution failed for task ':app:compileDebugJavaWithJavac' Android Studio 3.1 Update

I am getting error after updating the version of Android Studio 3.1 Canary 6 I don't why its happen, before that it's …

android android-studio gradle android-studio-3.1
':app:lintVitalRelease' error when generating signed apk

I've tried to upload my apk on google play and encountered an error message: "You uploaded a debuggable APK. For …

java android gradle
Gradle Build Android Project "Could not resolve all dependencies" error

I'm trying to build my first project with Gradle and I think my gradle files and settings are correct. I'm …

android gradle android-support-library build.gradle android-appcompat
Could not find method compile() for arguments Gradle

Looked around for this solution for much too long now, and I'm not sure if I missed it or just …

java groovy gradle
How to pass arguments from command line to gradle

I'm trying to pass an argument from command line to a java class. I followed this post: http://gradle.1045684.n5.…

gradle
Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat

If I run gradle assembleDebug from the command line, I am suddenly getting this error: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.…

android gradle android-support-library android-gradle-plugin