[TIMOB-26919] Android: Support d8 dexer.
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2019-09-05T17:33:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | Android, d8, dexer, engTriage |
Reporter | Sergey Volkov |
Assignee | Gary Mathews |
Created | 2019-03-18T15:26:00.000+0000 |
Updated | 2019-10-16T00:15:23.000+0000 |
Description
https://developer.android.com/studio/command-line/d8
bq. d8 is a command line tool that Android Studio and the Android Gradle Plugin use to compile your project's Java bytecode into DEX bytecode that runs on Android devices, and it allows you to use Java 8 language features in your app's code.
https://android-developers.googleblog.com/2018/04/android-studio-switching-to-d8-dexer.html
{quote}Android Studio switching to D8 dexer
06 April 2018
D8 now default dex compiler{quote}
With
d8
support, it will be possible to use libraries written with java 8 syntax.
[Example](https://github.com/NetrisTV/ti.exoplayer/issues/9#issuecomment-460235431)
related to [AC-5688]
P.S. Also dx
will be deprecated soon.
Hello [~s.volkov], Thank for the ticket. I will forward this to the engineering team. Thanks.
https://github.com/appcelerator/node-titanium-sdk/pull/80 https://github.com/appcelerator/titanium_mobile/pull/10809
Is it possible to adapt the pach for the 8.1.0.GA? Thanks!
Closing, as we will be using D8 through moving to Gradle builds.