typelead/gradle-eta

eta not working for Android

argideritzalpea opened this issue · 0 comments

I am able to build at the top level with Gradle 5.4.1, however, when I add "apply plugin: 'eta-android'" to my app/build.gradle, I receive these errors:

Unable to find method 'com.android.build.gradle.internal.api.DefaultAndroidSourceSet.getDisplayName()Ljava/lang/String;'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

Cause 1: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
Caused by: java.lang.NoSuchMethodError: com.android.build.gradle.internal.api.DefaultAndroidSourceSet.getDisplayName()Ljava/lang/String;
Cause 2: java.lang.IllegalStateException: compileSdkVersion is not specified.

This issue was first recorded in #43