transformClassesWithInstantRunForDebug вызывает java.lang.IllegalStateException?
Я заинтересован в использовании функции "Instant Run" в Android Studio. Следуя https://developer.android.com/studio/run/, я проверил, что наш плагин Android для Gradle версии больше, чем 2.3.0 (это 3.3.0):
Также, следуя инструкциям Как исправить transformClassesWithInstantRunForDebug в Gradle, я сделал Build -> Clean Project
, Однако, когда я собираю проект, я получаю ошибку сборки на transformClassesWithInstantRunForDebug
задача:
а в верхнем меню кнопка "Применить изменения" недоступна:
Ошибка сборки имеет следующую трассировку стека:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':p2p-app:transformClassesWithInstantRunForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.build.api.transform.TransformException: java.lang.IllegalStateException: java.lang.IllegalStateException
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.GeneratedMethodAccessor969.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 34 more
Caused by: com.android.build.api.transform.TransformException: java.lang.IllegalStateException: java.lang.IllegalStateException
at com.android.build.gradle.internal.transforms.InstantRunTransform.doTransform(InstantRunTransform.java:320)
at com.android.build.gradle.internal.transforms.InstantRunTransform.transform(InstantRunTransform.java:186)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 50 more
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:146)
at com.android.build.gradle.internal.transforms.InstantRunTransform.doTransform(InstantRunTransform.java:315)
... 54 more
Caused by: java.lang.IllegalStateException
at org.objectweb.asm.tree.analysis.BasicInterpreter.<init>(BasicInterpreter.java:66)
at com.android.build.gradle.internal.incremental.ConstructorBuilder$1.<init>(ConstructorBuilder.java:127)
at com.android.build.gradle.internal.incremental.ConstructorBuilder.build(ConstructorBuilder.java:127)
at com.android.build.gradle.internal.incremental.IncrementalSupportVisitor.visitMethod(IncrementalSupportVisitor.java:223)
at org.objectweb.asm.ClassVisitor.visitMethod(ClassVisitor.java:327)
at org.objectweb.asm.commons.SerialVersionUIDAdder.visitMethod(SerialVersionUIDAdder.java:236)
at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:686)
at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:436)
at com.android.build.gradle.internal.incremental.IncrementalVisitor.instrumentClass(IncrementalVisitor.java:365)
at com.android.build.gradle.internal.transforms.InstantRunTransform.transformToClasses2Format(InstantRunTransform.java:414)
at com.android.build.gradle.internal.transforms.InstantRunTransform.lambda$doTransform$4(InstantRunTransform.java:276)
at com.android.build.gradle.internal.transforms.InstantRunTransform.lambda$null$5(InstantRunTransform.java:305)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Я изо всех сил пытаюсь "справиться" с этой ошибкой; Любая идея, что вызывает сбой этой задачи сборки и как это исправить?
Обновление В ответ на Cagri Yalcin, вот верхний уровень build.gradle
файл:
buildscript {
ext.kotlin_version = '1.3.11'
ext.gradlePlugins = [
codeQuality : rootProject.file('gradle/plugins/code-quality.gradle'),
git : rootProject.file('gradle/plugins/git.gradle'),
signing : rootProject.file('gradle/plugins/signing.gradle'),
spoon : rootProject.file('gradle/plugins/spoon.gradle'),
codeCoverage : rootProject.file('gradle/plugins/code-coverage.gradle'),
releaseDistribution : rootProject.file('gradle/plugins/release-distribution.gradle'),
releaseManagement : rootProject.file('gradle/plugins/release-management.gradle'),
sonarQube : rootProject.file('gradle/plugins/sonarqube-matrix.gradle')
]
ext.fileLocations = [
releasePlayUploadFile : rootProject.file('gradle/plugins/data/key.json')
]
repositories {
google()
maven { url 'https://plugins.gradle.org/m2/'}
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-gradle-plugins-maven' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.jacoco:org.jacoco.core:0.8.2'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
}
}
allprojects {
repositories {
google()
maven { url 'https://plugins.gradle.org/m2/'}
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
mavenCentral()
jcenter()
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-sonatype-oss-maven' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-gradle-plugins-maven' }
}
}
subprojects {
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
}
и вот build.gradle
файл для p2p-app
:
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://plugins.gradle.org/m2/'}
maven { url 'https://dl.bintray.com/android/android-tools' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-fabric-maven' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/maven-dev' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-gradle-plugins-maven' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-sonatype-oss-maven' }
maven { url 'https://artifactory.aws.venmo.biz/artifactory/v-bintray-android-tools' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.27.0'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jaredsburrows:gradle-spoon-plugin:1.4.0'
classpath 'com.github.triplet.gradle:play-publisher:2.0.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'io.fabric'
apply plugin: 'com.jaredsburrows.spoon'
apply plugin: 'jacoco'
apply plugin: 'com.github.triplet.play'
apply from: gradlePlugins.git
apply from: gradlePlugins.signing
apply from: gradlePlugins.codeQuality
apply from: gradlePlugins.spoon
apply from: gradlePlugins.codeCoverage
apply from: gradlePlugins.releaseManagement
apply from: gradlePlugins.releaseDistribution
apply from: gradlePlugins.sonarQube
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
incremental false
}
defaultConfig {
applicationId "com.venmo"
minSdkVersion 21
targetSdkVersion 28
versionName '7.30.0'
versionCode 1192
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
unitTests {
includeAndroidResources = true
}
}
dataBinding {
enabled = true
}
signingConfigs {
release {
storeFile project.hasProperty('KEYSTORE_PATH') ? file(project.KEYSTORE_PATH) : file(signingProperty("KEYSTORE_PATH"))
storePassword project.hasProperty('KEYSTORE_PASSWORD') ? project.KEYSTORE_PASSWORD : signingProperty("KEYSTORE_PASSWORD")
keyAlias project.hasProperty('KEY_ALIAS') ? project.KEY_ALIAS : signingProperty("KEY_ALIAS")
keyPassword project.hasProperty('KEY_PASSWORD') ? project.KEY_PASSWORD : signingProperty("KEY_PASSWORD")
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
debuggable false
signingConfig signingConfigs.release
ext.betaDistributionReleaseNotesFilePath = "$projectDir.absolutePath/fabric-changelog.txt"
ext.betaDistributionGroupAliases = "android-engineers,qa,product,designers,fyi-android,datatheorem"
}
debug {
testCoverageEnabled = (project.hasProperty('coverage') ? true : false)
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
debuggable true
versionNameSuffix '-' + gitBranchName()
applicationIdSuffix '.fifa'
ext.betaDistributionGroupAliases = "android-engineers,qa,product,designers,fyi-android"
ext.betaDistributionReleaseNotesFilePath = "$projectDir.absolutePath/fabric-changelog.txt"
buildConfigField "String", "QA_ANDROID_PASSCODE", "\"${System.getenv("ANDROID_PASSWORD").toString()}\""
buildConfigField "String", "QA_PROFILE_PASSCODE", "\"${System.getenv("PASSWORD_TO_EDIT_PROFILE").toString()}\""
buildConfigField "String", "QA_ZILION_PASSCODE", "\"${System.getenv("ZLIOIN_PASSWORD").toString()}\""
buildConfigField "String", "QA_SMS_USER_PASSCODE", "\"${System.getenv("SMS_PASSWORD_TWO_STEP").toString()}\""
buildConfigField "String", "QA_DISCLOSURE_PASSCODE", "\"${System.getenv("SMS_TWO_STEP_DISCLOSURE_PASSWORD").toString()}\""
buildConfigField "String", "QA_FB_USER_PASSCODE", "\"${System.getenv("FB_USER_PASSWORD").toString()}\""
buildConfigField "String", "QA_TWILIO_SID", "\"${System.getenv("TWILIO_ACCOUNT_SID").toString()}\""
buildConfigField "String", "QA_AUTH_TOKEN", "\"${System.getenv("TWILIO_AUTH_TOKEN").toString()}\""
buildConfigField "String", "QA_ANDROID_TWILIO_SID", "\"${System.getenv("ANDROID_TWILIO_ACCOUNT_SID").toString()}\""
buildConfigField "String", "QA_ANDROID_AUTH_TOKEN", "\"${System.getenv("ANDROID_TWILIO_AUTH_TOKEN").toString()}\""
buildConfigField "String", "QA_TEST_ENVIRONMENT", "\"${System.getenv("TEST_ENVIRONMENT").toString()}\""
buildConfigField "String", "QA_TAKE_SHOT", "\"${System.getenv("TAKE_SHOT").toString()}\""
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE'
exclude 'LICENSE.txt'
exclude 'LICENSE'
exclude 'NOTICE'
exclude 'asm-license.txt'
exclude '.readme'
}
lintOptions {
abortOnError false
lintConfig file("../rules/lint.xml")
htmlReport true
htmlOutput file("lint-report.html")
}
dexOptions {
javaMaxHeapSize "2g"
}
}
play {
serviceAccountCredentials = file("../gradle/plugins/data/key.json")
track = "internal"
releaseStatus = "completed"
}
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
maven { url 'http://appboy.github.io/appboy-android-sdk/sdk' }
flatDir {
dirs 'libs'
}
}
dependencies {
implementation 'com.android.support:support-v13:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-annotations:27.1.1'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:gridlayout-v7:28.0.0'
implementation 'com.android.support:preference-v14:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'
implementation "com.android.support:support-dynamic-animation:28.0.0"
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.braintreepayments:card-form:3.3.0'
implementation 'com.braintreepayments.api:braintree:2.11.0'
implementation 'com.braintreepayments.api:data-collector:2.11.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
implementation 'com.facebook.android:facebook-android-sdk:4.38.0'
implementation 'com.google.android.gms:play-services-gcm:16.0.0'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-config:16.1.0'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation group: 'com.google.zxing', name: 'core', version: '3.3.2'
implementation 'com.journeyapps:zxing-android-embedded:3.5.0'
implementation 'com.linkedin.android.spyglass:spyglass:1.4.0'
implementation 'com.mparticle:android-appboy-kit:5.7.0'
implementation 'com.mparticle:android-core:5.4.4'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:retrofit-converters:2.4.0'
implementation 'com.squareup.retrofit2:retrofit-adapters:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
implementation 'com.zendesk:support:2.2.1'
implementation 'com.zopim.android:sdk:1.4.2'
implementation 'io.card:android-sdk:5.5.1'
implementation 'joda-time:joda-time:2.9.9'
implementation 'io.reactivex.rxjava2:rxjava:2.1.16'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
implementation 'com.jakewharton.rxbinding2:rxbinding-support-v4:2.1.1'
implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.1.1'
implementation 'com.jakewharton.rxbinding2:rxbinding-recyclerview-v7:2.1.1'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
implementation 'com.airbnb.android:lottie:2.7.0'
implementation 'android.arch.paging:runtime:1.0.1'
implementation 'android.arch.paging:rxjava2:1.0.1'
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation project(':venmo-link')
implementation project(':android-pin')
implementation project(':cursor-utils')
implementation project(':tooltip-view')
debugImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
testImplementation "com.nhaarman:mockito-kotlin:1.5.0"
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.7.5'
testImplementation 'org.mockito:mockito-inline:2.7.5'
testImplementation 'org.powermock:powermock-api-mockito2:1.7.0RC4'
testImplementation 'org.powermock:powermock-module-junit4:1.7.0RC4'
testImplementation 'org.robolectric:robolectric:3.5'
testImplementation 'org.robolectric:shadows-multidex:3.5'
androidTestImplementation(project(':vespresso'))
androidTestImplementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-idling-resource:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-web:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
androidTestImplementation 'com.android.support.test:rules:1.0.2'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.squareup.spoon:spoon-client:2.0.0-SNAPSHOT' // For Spoon snapshot, until 2.0.0 is released
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
// dependencies only needed for spike tickets, etc
debugImplementation 'com.github.bumptech.glide:glide:4.8.0', {
exclude group: 'com.android.support'
}
kaptDebug 'com.github.bumptech.glide:compiler:4.8.0'
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
kotlinOptions.allWarningsAsErrors = true
}
}
apply plugin: 'com.google.gms.google-services'
Надеюсь, это поможет диагностировать проблему?