Android Studio 3 / Java 8 Compatibility Issues
See original GitHub issueThe .aar file as published and distributed on official maven/jcenter repositories is incorrectly packaged. The android res
files should be in a directory hierarchy. Instead the .aar file contains entries like these:
res\layout\activity_authentication.xml
res\layout\dialog_authentication.xml
...
The \
char is in the entry name itself, not a directory path separator.
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (9 by maintainers)
Top Results From Across the Web
Known issues with Android Studio and Android Gradle Plugin
If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version...
Read more >What is the best way to avoid java compatibility issues with ...
I am currently creating a project on android studio and i have been having some gradle errors due to compatibility issues. i do...
Read more >3.x release vs. Java 8 support on Android #6695 - GitHub
The main issue with Android's Java 8 support is timing related to the pledged release schedule of RxJava 3.x, end of December 2019....
Read more >Compatibility Guide for JDK 8 - Oracle
Compatibility is a complex issue. This document discusses three types of potential incompatibilities relating to a release of the Java platform: Source: Source ......
Read more >Android Studio 3.0: Java 8 language features support - YouTube
Read more about using desugar in your Android Studio project here: https://goo.gl/vxnVh6With Android Studio 3.0 and the new Android Plugin ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just for fun in my project
build.gradle
I replacedwith
Basically let https://jitpack.io/ build that aar from github tagged source instead of using the official aar file.
As you could guess this workaround works 😛
The workaround fixes #1015 too. Thanks @tdtran !!