Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Studio 3 / Java 8 Compatibility Issues

See original GitHub issue

The .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:


The \ char is in the entry name itself, not a directory path separator.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:23 (9 by maintainers)

github_iconTop GitHub Comments

tdtrancommented, Nov 7, 2017

Just for fun in my project build.gradle I replaced




Basically let build that aar from github tagged source instead of using the official aar file.

As you could guess this workaround works 😛

gershnik-smartsheetcommented, Nov 9, 2017

The workaround fixes #1015 too. Thanks @tdtran !!

Read more comments on GitHub >

github_iconTop 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: Android Studio 3.0 and the new Android Plugin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found