Top "Android-gradle-plugin" questions

The Android Gradle Plugin is Android's standard build system.

how append date build to versionNameSuffix on gradle

I am using Android Studio and I need to append a suffix to the versionNameSuffix on my Android build.gradle …

android android-studio gradle android-gradle-plugin build.gradle
Unable to Merge Dex - Android Studio 3.0

When I updated my Android Studio to 3.0 in the stable channel and ran the project, I started getting the below …

android android-gradle-plugin android-studio-3.0
How do I read properties defined in local.properties in build.gradle

I have set sdk.dir and ndk.dir in local.properties. How do I read the values defined in sdk.…

android android-gradle-plugin
Is it possible to declare git repository as dependency in android gradle?

I want to use master version of my lib from mavencentral. Is it possible to declare git repository as dependency …

android android-studio android-build android-gradle-plugin
How can I add Boon or Jackson JSON parsers to Android project with Gradle?

I would like to know how can I add Boon or Jackson parser to an android project using Gradle? I …

json jackson gson android-gradle-plugin
Using build types in Gradle to run same app that uses ContentProvider on one device

I have set up Gradle to add package name suffix to my debug app so I could have release version …

android gradle android-contentprovider android-gradle-plugin
build failing during merge resources with Android Gradle plugin 3.3.0

I have a lot of different flavors for my build that have specific resources and I don't want to clutter …

android gradle android-gradle-plugin gradle-plugin
How can I access a BuildConfig value in my AndroidManifest.xml file?

Is it possible to access a BuildConfig value from AndroidManifest.xml? In my build.gradle file, I have: defaultConfig { applicationId "…

android android-gradle-plugin android-xml android-facebook
Android Studio 1.0 and error "Library projects cannot set applicationId"

After updating Android Studio to 1.0, I see this error: Error: Library projects cannot set applicationId. applicationId is set to 'com.…

android android-studio android-gradle-plugin android-library
Dex error On Android Studio 3.0 Beta4

Error:java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex Error:java.lang.RuntimeException: …

android android-gradle-plugin build.gradle dex