Questions tagged [android-gradle-3.0]

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

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

123 questions
0
votes
2 answers

Qt Android output apk generated in ~/android-build\build\outputs\apk\debug

Problem: I want to use Android build system (gradle version 3) with Qt project, but this version of gradle (compared to old version 2) would change location of generated output apk file to be under $buildDir/outputs/apk/debug instead of…
Mohammad Kanan
  • 4,452
  • 10
  • 23
  • 47
0
votes
0 answers

Manifest merger failed, Error while adding firebaseui dependency

I have following dependencies in my app gradle and they work completely fine untill i add firebase ui dependency. dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation…
user9592284
0
votes
1 answer

Build config error in Android Studio

When I run the Android App in Android Studio, I get the following error: Error:Build Config field cannot have a null parameter Consult IDE log for more details (Help | Show Log) 'build.gradle' file code: buildscript { repositories { …
0
votes
1 answer

Gradle 3 implementation for aar dependency

I have an Android project which has couple of libraries as aar dependency. The libraries and the application has the same flavors (internal and external). The libraries gets generated as LibraryName-internal-release.aar and…
jgm
  • 1,230
  • 1
  • 19
  • 39
0
votes
1 answer

I unified the Android Gradle version, but "mixing version" pops up

The program will run normally. But by removing the error mark, I want to prevent potential danger. My targetSdkVersion is 26. So I have unified all Gradle Version to 26. However, the Android studio warns that 25.2.0 still exists and that it is a…
0
votes
1 answer

Android - Xwalk crash after Oreo migration

I want to make some changes to an application targeting Android SDK 22 (5.1). I loaded the project in Android Studio 3, got the Gradle upgrade message. Of course, doing that makes the whole thing explode as the way the new Gradle handles…
0
votes
2 answers

upgrade to Android studio Gradle Plugin 3.0.1 and the "\r"(carriage return) in strings.xml shows "r" in TextView

I just upgrade to Android studio Gradle Plugin 3.0.1. Very strange thing happens that the character in strings.xml "\r"(ASCII carriage return) shows "r" when running apk. It works correctly in my older Android studio version 2.3.3. My old…
Fisher
  • 488
  • 7
  • 24
0
votes
0 answers

Issue implementing gradle multi-project with dependencies

I've got a gradle project that contains my app and then my lib. I'm seeing errors when trying to build my app module because it can't find the dependencies needed by the lib module. * What went wrong: Could not resolve all files for configuration…
atreat
  • 4,243
  • 1
  • 30
  • 34
0
votes
0 answers

DexArchiveMergerException : transformDexArchiveWithExternalLibsDexMergerForDebug

Android 3.0.1 I got problem with DexArchiveMergerException and I found out that this is a problem with libraries (implementation, compile). But I couldn't find which one to fix. I tried to clean and rebuild. This is my build.gradle. What could I do…
YOOZOO
  • 51
  • 1
  • 4
0
votes
1 answer

ClassCastException while upgrading to Gradle 4.1

I use the following Gradle distribution: distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip When using above version of Gradle, It's giving me the ClassCastException when I run below command. ./gradlew dependencyUpdates…
user9187
  • 223
  • 4
  • 10
0
votes
2 answers

connection timed out error in online mode and could not open file in offline mode - android studio

repositories { maven { url "https://jitpack.io" } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile…
0
votes
1 answer

How do I install gradle offline on android studio?

The gradle version under project structure is 4.1 so I tried to direct the IDE to the directory where I had extracted the .zip file.
devt3000
  • 5
  • 2
  • 7
0
votes
1 answer

Android Gradle: DuplicateFileException: Duplicate files copied in APK com/fasterxml/jackson/core/json/VERSION.txt

I have studied all the similar cases within stackoverflow, but the proposed solutions seem to be quite specific, depending totally on the combination of dependencies declared in the gradle file. I manage to build successfully, but when I try to run…
Carlos Botero
  • 319
  • 3
  • 11
0
votes
0 answers

Android Studio 3.0.0 unable to start daemon process

I tried everything i can to change gradle file but still I have this Error, I can't run new project or old one. Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an …
Magician
  • 73
  • 8
0
votes
0 answers

Running gradle resulting in error on Jenkins

I'm trying to run a Jenkin's job (which is hosted on AWS). If i try to run the gradlew command from ssh / command line it works just fine. But When I try to run the Jenkins job with same commands which I used in commandline then its failing with…
Vighnesh Pai
  • 1,795
  • 1
  • 14
  • 38
1 2 3
8
9