Top "Android-build" questions

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

How to install Android SDK Build Tools on the command line?

I want to setup the Android dev environment from command line, and encounter the following issue: wget http://dl.google.…

android sdk android-build aapt build-tools
Gradle, Android and the ANDROID_HOME SDK location

edit: (aug-2016) That question is from November 2013 (while Android Studio was still in Developer Preview mode), Currently (AS v2.2, Aug-2016) …

android gradle android-build android-gradle-plugin
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
What is the difference between compileSdkVersion and targetSdkVersion?

I have looked at the documentation for building with Gradle, but I'm still not sure what the difference between compileSdkVersion …

android sdk android-gradle-plugin android-build
failed to find target with hash string android-23

When trying to build OpenStreetMapView from git://github.com/osmdroid/osmdroid, I get this error: failed to find target with …

android gradle android-build
Installation failed with message Invalid File

Installation failed with message Invalid File: K:\project\app\build\intermediates\split-apk\with_ImageProcessor\debug\slices\slice_0.apk. It is …

android android-studio android-build
How to configure gradle to work "offline" (using cached dependencies)

I have a command line apk generator which compiles a lot of APKs using the same source code, so these …

android android-studio gradle android-gradle-plugin android-build
Where does local.properties go for android project?

Getting this complaint from IntelliJ 13: 8:15:48 PM Gradle '<project>' project refresh failed: SDK location not found. Define …

android intellij-idea android-build
BuildConfig not getting created correctly (Gradle Android)

I am trying to convert our Android application to a gradle build. I have the project and it's libraries building …

android gradle android-build android-gradle-plugin buildconfig
Android Command line tools sdkmanager always shows: Warning: Could not create settings

I use the new Command line tools of android because the old sdk-tools repository of android isn't available anymore. So …

android gitlab-ci android-build android-sdk-manager android-studio-3.6