Questions tagged [android-gradle-2.0]

Use this tag for questions specifically related to the version 2 of the Android Gradle Plugin, for generic questions use the android-gradle tag.

Version 2 of the Android Gradle Plugin is Android's standard build system. It is used as backing-build-system by Android Studio.

26 questions
0
votes
1 answer

Duplicate v4 Support issue.Tried all options.Help Needed

I am working nearly 2 days to get rid of v4 dulicate issue on signed apk build.I have Two Modules. The one SDK which connects FB has v4 SUpport. I have excluded v4 from everywhere on gradle but still i am getting Error:Execution failed for task…
0
votes
3 answers

Gradle: Can I depend on a module in a different project?

I would like to set up a project with the following structure: Project 1 + build.gradle + settings.gradle + module A + build.gradle + src + ... + module B + build.gradle + src + ... Project 2 +…
G. Blake Meike
  • 6,615
  • 3
  • 24
  • 40
0
votes
3 answers

App remains running after press back button in android studio

I have a simple Hello World app, created in Android Studio. When I run my application and in my device I pressed the back button, it remains running in the Android Studio until I press the stop button in this IDE. why does app remain running?
0
votes
0 answers

Gradle 'MyApp' project refresh failed. A strange kind of error

I have recently update Android Studio to Android Studio 2.1.2. I have stuck with a strange error. Error is printed below. This happens when I just create new android studio project. Gradle 'myapp' project refresh failed Error:No toolchains found in…
0
votes
1 answer

Error:Could not initialize class org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.StaticVersionComparator

I can not build project and every time I try below error is appear, Error:Could not initialize class org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.StaticVersionComparator this is my gradle : dependencies { classpath…
Pooya Haratian
  • 765
  • 4
  • 16
0
votes
0 answers

How to Resolve Error:Execution failed for task ':app:mergeDebugResources'. > Some file crunching failed, see logs for details in android studion

I got IDE issue like Error:Execution failed for task ':app:mergeDebugResources'. Some file crunching failed, see logs for details while i got latest update from android studio. Now i got updated version as android studio 2.1 My Gradle part is…
siva
  • 375
  • 6
  • 24
0
votes
0 answers

Update for Android Studio from 2.0 preview 4 to 2.0 increases apk size

Recently I have updated Android Studio from 2.0 preview to 2.0 stable version. I realised that after this update my app's release apk size changed from 6MB to 14MB. Anyone have any idea why this is happening and what is the solution to reduce apk…
0
votes
0 answers

Android Studio 2.0: Run task only on first run. NOT at Instant Run

I'm trying to setup instant runt for my project. Unfortunately my predecessors decided to hook some actions to preBuild (downloading configuration data to be more precise). The actions provide some data to BuildConfig. This is being run now every…
Marcin Kunert
  • 5,596
  • 5
  • 26
  • 52
0
votes
0 answers

GCM how to differentiate between 2 apps using the same Sender Id?

I'm working on an Android project with multiple Flavors and of course each one has debug and release builds, our setup is to have the API end-points pointing to staging and release pointing to live server, I'm using Google play services plugin for…
-1
votes
1 answer

failed to resolve com.github.KingsMentor:MobileVisionBarcodeScanner:2.0.0

I tried going to the github link https://github.com/KingsMentor/MobileVisionBarcodeScanner but I didn't find any readme doc, please advise?
Khanyisa Fante
  • 326
  • 1
  • 15
-3
votes
1 answer

How to resolve resource issues of gradle build process?

I am trying to build my android app but I am getting the following error: Resource missing. [HTTP GET: https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.1/appcompat-v7-24.2.1.pom] Resource missing. [HTTP HEAD:…
Tahseen Adit
  • 184
  • 2
  • 7
  • 22
1
2