Top "Android-gradle-plugin" questions

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

Android Gradle Project upgrading build tools to 21.0.1: aapt throws Exception

We have an android gradle project. Today I wanted to upgrade the android build tools version from 20 to 21.0.1, but now …

android gradle android-gradle-plugin build-tools
Echo off in Jenkins Console Output

I'm following guideline how to sign Android apk with Jenkins. I have parametrized Jenkins job with KSTOREPWD and KEYPWD. A …

jenkins android-gradle-plugin echo android-keystore
Getting warning "NDK is missing a 'platforms" directory.' with no NDK

I've got a project that only uses the Android SDK, not the NDK, but I'm getting warnings whenever I build …

java android android-ndk android-gradle-plugin android-sdk-tools
Gradle error: Write access is allowed from event dispatch thread only in Android Studio

After updating Android Studio to version 2.2 (on Windows 10) and somehow next morning I received such error when gradle built on …

android android-studio gradle android-gradle-plugin gradlew
Android buildscript repositories: jcenter VS mavencentral

The last time I used Android Studio, it generated .gradle files with mavencentral() buildscript repositories whereas now there's jcenter(). Could …

java android android-gradle-plugin jcenter maven-central
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 configure NDK with Android Gradle plugin 0.7

The new Android gradle plugin (0.7) seems to include new support for the NDK, but in the documentation there is little …

android-ndk android-studio android-gradle-plugin
How to change app name per Gradle build type

I am trying to figure out a way to be able to change my application's app name per build type …

android android-gradle-plugin
spawnSync ./gradlew EACCES error when running react native project on emulator udara

I am trying to use react-native run-android to install my react-native application on an android studio emulator. I have checked …

react-native gradle android-gradle-plugin
Android Studio: Could not find com.android.tools.build:gradle:2.0.0-alpha2

Recently I have updated my Android Studio to latest version from Latest Android Studio Canary Build: 2.0 Preview After updating to …

android android-studio android-gradle-plugin build.gradle android-studio-import