Skip to content

Download [portable] - D8.jar

Since it is a Java application, you run it from your terminal or command prompt. Standard Command:

Once you have the file, run it with Java (requires JDK 8 or higher):

⚠️ : Only download Build Tools from google.com or android.com domains to avoid malicious versions. d8.jar download

Confusion about how the plugin starts d8 · Issue #793 - GitHub

--lib : Add library resources (like android.jar from your SDK). Since it is a Java application, you run

#AndroidDev #Java #Android #D8 #MobileDevelopment

dependencies implementation("com.android.tools:desugar_jdk_libs:2.0.4") // Not the same! Keep reading. Since it is a Java application

The d8 tool is part of the Android Build Tools.