Top "Build.gradle" questions

The file build.

Program type already present: android.support.v4.app.BackStackRecord

I have upgraded my Android Studio and I found many problems in the latest version. Although many similar questions exist, …

android build.gradle
Autoincrement VersionCode with gradle extra properties

I'm building an Android app with gradle. Until now I used the Manifest file to increase the versionCode, but I …

android gradle android-gradle-plugin build.gradle
Module ... is not backed by gradle

I'm using IntelliJ IDEA Pro 13.1.2. Never used any versions below 13. When trying to run build.gradle from IDE I get …

intellij-idea gradle build.gradle intellij-13
Gradle build errors after updating Android Studio

I just updated Android Studio, and now when I try to build my app, I get the following Gradle error: …

android gradle android-studio build.gradle
What is the syntax for writing comments in build.gradle file?

Looking down this build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "package.myapp" minSdkVersion 19 targetSdkVersion 21 …

android gradle comments android-gradle-plugin build.gradle
How to fix google play service error

Today after updating the play services in root folder I'm facing the following problem . I'm confused how to fix this. …

android firebase google-play-services build.gradle
What does transitive = true in Gradle exactly do (w.r.t. crashlytics)?

What does Gradle transitive = true do exactly? It is not clear from the Gradle documentation. This is in the context …

java android gradle build.gradle crashlytics
Gradle version 1.10 is required. Current version is 2.0

I am trying to use latest Gradle version (2.0), however I keep getting this message when hitting gradle build in terminal. …

android maven gradle build.gradle gradle-plugin
Cannot resolve symbol 'AndroidJUnit4'

Obviously I need the correct import statment to solve this problem. According to the docs for AndroidJUnit4, this should be …

android gradle build.gradle android-uiautomator testing-support-library
java.lang.NullPointerException (no error message)

I know that this question of mine has been asked many times and I did follow most of the answers …

android gradle build.gradle