Questions tagged [android-build]

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

882 questions
15
votes
2 answers

Using Gradle with an existing Android project

I have an existing Android project with the following structure: - ProjectName -- AndroidManifest.xml -- local.properties -- project.properties -- assets -- libs (containing all jars) -- modules (containing all library projects my project…
woot
  • 3,671
  • 4
  • 26
  • 39
14
votes
5 answers

Android build error com.google.firebase:firebase-core:17.0.0

I have to problem when build. i add build firebase core 16.0.0, but when build, this is build firebase core 17.0.0. why it build 17.0.0.I check android https://firebase.google.com/docs/android/setup#available_libraries, now version 16.0.0, i have…
QuestionAndroid
  • 881
  • 1
  • 8
  • 25
14
votes
1 answer

Pro guard error building release apk

I'm getting the following error trying to build a release apk :app:compileReleaseNdk UP-TO-DATE :app:compileReleaseSources :app:lintVitalRelease :app:proguardRelease Warning: android.support.v4.app.NotificationCompat$NotificationCompatImplBase:…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
14
votes
8 answers

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 was an eclipse project where I had issues too.) Here is the information given: Error:Execution failed for task ':app:dexDebug'. >…
dephinera
  • 3,703
  • 11
  • 41
  • 75
14
votes
3 answers

How to define v7 appcompat dependency correctly?

I'm trying to get an (inherited) Android project to build. I'm using Ant & command line tools (and IDEA). In styles.xml, there are references that cannot be resolved such as: