[1.67.0][Android] Error on Building, Java 8 Compat
See original GitHub issueI keep getting this error when trying to build the latest version.
Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8
I know Jack is deprecated on Android, but I can’t get it to work.
I’m using default versions of Gradle for RN56 gradle-plugin@2.3.3, gradle@3.5.1, gradle-download-task@3.4.3,
Added the compileOptions as the docs say
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
Which should support Java 8 expressions. Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
libGDX setup allows me to use Java 8 which crashes in Android
The desktop version runs fine (I have Java 8 installed), but my android app crashes with a NoClassDefFoundError error (BTW, the error message ......
Read more >Use Java 8 language features and APIs - Android Developers
Discover the Java 8 language features you can use, how to properly configure your project to use them, and any known issues you...
Read more >Java 8 Source Compatibility - PSPDFKit
DexArchiveBuilderException: Error while dexing. The dependency contains Java 8 bytecode. Please enable desugaring by adding the following to build.gradle ...
Read more >target 8` (but still avoid Java 7+ APIs) · Issue #5269 · google ...
AFAICT cloud libraries like Firestore and Storage are still Java 7 compatible. Has a decision been made to migrate all these libraries to...
Read more >Open Source Used In Secure Network Analytics (Stealthwatch ...
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in...
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
@cristiantx Sure thing, thank would be most welcome!
@saghul Should we include some notes on the documentation to point this should be also done? I can help on that making some small guide using @8BallBomBom information.