Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26919] Android: Support d8 dexer.

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2019-09-05T17:33:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
LabelsAndroid, d8, dexer, engTriage
ReporterSergey Volkov
AssigneeGary Mathews
Created2019-03-18T15:26:00.000+0000
Updated2019-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.

Comments

  1. Sharif AbuDarda 2019-03-22

    Hello [~s.volkov], Thank for the ticket. I will forward this to the engineering team. Thanks.
  2. Sergey Volkov 2019-03-27

    https://github.com/appcelerator/node-titanium-sdk/pull/80 https://github.com/appcelerator/titanium_mobile/pull/10809
  3. Daniel Marin 2019-08-18

    Is it possible to adapt the pach for the 8.1.0.GA? Thanks!
  4. Gary Mathews 2019-09-05

    Closing, as we will be using D8 through moving to Gradle builds.

JSON Source