Closed vicpinm closed 7 years ago
@vicpinm This library is compiled with Java 8. So you need to make your project use Java 8. Add below lines to your module level build.gradle
.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
@kevalpatel2106 I think this only works in Android studio versions 3.0 which is still in beta. Also as a side note are there any pro-guard settings needed for this library?
@AdeelTariq Yes, Java 8 is currently supported in AS 3.0 only. I used some lambda expressions in the library. I will try to make library working on Java 7. Stay tuned for the upcoming release. Also, proguard configurations are added inside the library itself. No need to add it manually.
@vicpinm @AdeelTariq Java 7 support added in v1.1.
Is needed any special configuration with your library? It does not compile when I add the dependency to my project: