skrapeit / skrape.it

A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
https://docs.skrape.it
MIT License
808 stars 59 forks source link

[HELP] Importing this library causes a build error #103

Closed fatalade closed 4 years ago

fatalade commented 4 years ago

For some reason, as soon as I import this library and do a gradle sync, my build fails. This is the error I get,

java.util.concurrent.ExecutionException: com.android.tools.r8.errors.a: Space characters in SimpleName 'to be' are not allowed prior to DEX version 040
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:552)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:513)
        at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:86)
        at com.android.tools.r8.utils.U0.a(:14)
        at com.android.tools.r8.dex.a.a(:68)

Any help would be appreciated. Cheers.

fatalade commented 4 years ago

Looks like it's caused when desugaring is used (https://developer.android.com/studio/write/java8-support). Y'all can close this issue.