Questions tagged [android-gradle-plugin-3.3.0]

9 questions
14
votes
5 answers

Gradle build fails due to lint classpath error on Android

I have an Android app whose build fails when I run the following command: ./gradlew clean build -Pbuild=dev --stacktrace Here is the error I receive: > Task :app:lint FAILED FAILURE: Build failed with an exception. * What went wrong: A problem was…
harold_admin
  • 1,117
  • 2
  • 10
  • 20
2
votes
3 answers

How to obtain SHA1 Signature from Android studio Arctic Fox

After updating my Android studio to Arctic Fox, Gradle scripts don't behave as previously. It does not show the root Gradle scripts to run. Any idea on this? How do I obtain Debug and Release SHA-1 fingerprints from the GUI?
1
vote
3 answers

How can I define an ext property from Heap.io with gradle kotlin dsl

Im using the heap.io and their Android SDK and they advise you to setup their library like: build.gradle: android { defaultConfig { // Add this section to enable Heap event capture. ext { heapEnabled = true } …
1
vote
1 answer

Kotlin Unresolved reference: READ_EXTERNAL_STORAGE, LOLLIPOP,Unresolved reference: FLAG_ACTIVITY_CLEAR_TASK

I get an issue in my kotlin project with kotlin version 1.3.41 that Unresolved reference:I'm not able to found out why that issue is coming?. I also downgrade the kotlin version but no effect. When I run it, I receive errors: Unresolved reference:…
1
vote
1 answer

Maven-Publish not generating appropriate tasks

I'm creating an android library and I'm basically using apply plugin: 'com.android.library' apply plugin: 'digital.wup.android-maven-publish' apply plugin: 'maven-publish' publishing { repositories { maven { url "...." …
1
vote
1 answer

Make Project fails but Build Signed APK works in Android Studio. How do they differ?

I have a multi module project that I just inherited. I'm able to build and debug the app as well as create signed APK. However, when I try to clean and then make the project (release flavour) the build fails. Error generated refers to a theme…
1
vote
2 answers

Why gradle plugin 3.3.0 doesn't want to build google-services?

I'm trying to Sync my project with gradle:3.3.0 , but in result file values.xml for google-services is not generated in folder: D:\Android\workspace\myproject\app\build\generated\res\google-services\debug\values\values.xml Top level build file…
0
votes
1 answer

how to execute individual Junit test in android using gradle

My project contains multiple test classes and each class contains some test methods. I can run all the test using command line gradlew testDebugUnitTest Is there any gradlew command to run specific testMethod from a class? Is there any gradlew…
0
votes
1 answer

Gradle sync not working after updating to version 3.3.0

After updating to Android Studio Gradle plugin 3.3.0 my sync process is not working anymore. I have a multi-module and multi-flavor Android application process with a base module and different other "upper" modules that depend on this base. I get a…