Closed
Description
Prompted by this SO post with more details: https://stackoverflow.com/questions/59243821/youtube-api-exception-in-initializer-error/59298544#59298544
Environment details
- OS: Android
- Java version: 8
- google-api-java-client version: 1.30.6
Steps to reproduce
- Try to access GoogleUtils.VERSION with build.gradle looking like:
dependencies { implementation ('com.google.api-client:google-api-client:1.30.6') implementation ('com.google.api-client:google-api-client-android:1.30.6') implementation ('com.google.apis:google-api-services-drive:+') }
Stacktrace
Caused by: java.lang.IllegalStateException: No successful match so far
at java.util.regex.Matcher.ensureMatch(Matcher.java:1116)
at java.util.regex.Matcher.group(Matcher.java:382)
at com.google.api.client.googleapis.GoogleUtils.<clinit>(Unknown Source:26)
Please let me know if this is a problem with our own setups, as far as I can tell there's not a whole lot I can do.
Thanks!