Top "Gradle" questions

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

How do I add a library (android-support-v7-appcompat) in IntelliJ IDEA

I created a project, copied the resource files in the project, library, added it to the project structure, prescribed style …

android intellij-idea gradle android-support-library
Execution failed for task 'app:mergeDebugResources' Crunching Cruncher....png failed

I've added some pictures with the format *.png to my drawable-directory and linked it with the layouts. But every time …

android gradle build
Android java.exe finished with non-zero exit value 1

I've tried looking at similar ones and no solution has worked. I've previously run apps without a problem but my …

android gradle compiler-errors jvm
Android Gradle Apache HttpClient does not exist?

I am trying to convert an IntelliJ project to the Gradle system of Android Studio but I am running into …

android android-studio intellij-idea gradle android-gradle-plugin
Building and running app via Gradle and Android Studio is slower than via Eclipse

I have a multi-project (~10 modules) of which building takes about 20-30 seconds each time. When I press Run in Android …

android gradle android-studio build.gradle
How to enable multidexing with the new Android Multidex support library

I want to use the new Multidex support library to break the method limit for one of my apps. With …

android gradle android-multidex
Still getting warning : Configuration 'compile' is obsolete and has been replaced with 'implementation'

I have replaced every occurrence of compile by implementation in my project's build.gradle, but I'm still getting this warning : …

android gradle build
How to import RecyclerView for Android L-preview

Trying to use the new RecyclerView from the support library. I downloaded the 20 update for the support library using the …

android gradle android-5.0-lollipop android-recyclerview
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0. Could not resolve com.…

android android-studio gradle android-gradle-plugin
OpenCV in Android Studio

I want to use OpenCV library in my app with Android Studio. I followed instructions found here but I get …

android opencv android-studio gradle