Top "Build.gradle" questions

The file build.

How can I use external JARs in an Android project?

I have created an Android project and added an external JAR (hessian-4.0.1.jar) to my project. I then added the …

android eclipse build.gradle class-library
Android Studio: Plugin with id 'android-library' not found

I've been trying to get ActionBarSherlock to work and having some issue. One issue I've come across is the following …

gradle android-studio android-build build.gradle gradlew
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
DELETE_FAILED_INTERNAL_ERROR Error while Installing APK

I am using Android Studio 2.2 Preview. I am facing the issue Failure: Install failed invalid apk Error: While installing apk, …

android android-studio build.gradle
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
Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2

When I today update Android Studio it write: Minimum supported Gradle version is 3.3. Current version is 3.2 how can I solve …

android android-studio android-gradle-plugin build.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
Getting Gradle dependencies in IntelliJ IDEA using Gradle build

Grade build, even from inside IntelliJ IDEA does not put the dependencies into the "External Libraries" folder, so these classes …

java intellij-idea gradle build.gradle
How/when to generate Gradle wrapper files?

I am trying to understand how the Gradle Wrapper works. In many source repos, I see the following structure: projectRoot/ …

gradle build.gradle gradlew