Top "Android-build" questions

For questions related to the build process of Android Applications, for all build tools.

Build errors after Android Studio 3.2.1 upgrade

I am building a sample project from Udacity. This was working fine till now, but after upgrading to Android Studio 3.2.1, …

android android-studio android-gradle-plugin android-build jcenter
How to show compilation errors in android studio

I want to know how to show compilation errors in Android Studio. I tried the following one: Android Studio: Where …

android android-studio android-build
Android source code compile error: "Try increasing heap size with java option '-Xmx<size>'"

Error happens when I try to compile Android source code(Sourcecode-version: 6.0.1; RAM: 6G; host system: ubuntu 14.04),log is below: including ./…

android android-source android-build
Android Studio: Error:Execution failed for task ':app:dexDebug'

I'm using Android Studio for the first time and I got the following error after importing the project (previously it …

android android-studio android-build dex
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
Difference between eng and user-debug build in Android

I would like to know the difference between the two build_flavor's viz. eng & user-debug The difference between eng …

android linux makefile linux-kernel android-build
How to define different dependencies for different product flavors

I am converting one of my apps to Gradle and would like to use the new build flavor features to …

android gradle android-build
How to build the Android sample projects using Ant? build.xml does not exist

I believe I've followed the instructions in the Android SDK, and I'm now trying to build the sample LunarLander (random …

android ant build android-build
Out of memory issue after updating buildToolsVersion '23.0.1' in Android studio

I am getting out of memory issue very often after updating buildToolsVersion '22.0.1' to buildToolsVersion '23.0.1' I am …

android android-studio build.gradle android-build build-tools
How to change the Android app package name when assembling with Gradle?

Is it possible to change the package name of an Android application using Gradle? I need to compile two copies …

android gradle android-build android-gradle-plugin