Where is Java – r8.jar located in the Android SDK?

Where is Java – r8.jar located in the Android SDK? … here is a solution to the problem.

Where is Java – r8.jar located in the Android SDK?

I’m trying Android’s D8 and R8

As described in the documentation, the command to run D8 is as follows:

java -jar build/libs/d8.jar --release --output out input.jar

For R8:

java -jar build/libs/r8.jar --release --output out --pg-conf proguard.cfg input.jar

I

found d8 .jar in %ANDROID_HOME%\build-tools\28.0.3\lib, but I couldn’t find r8. jar

Where is r8 .jar in the Android SDK?

Solution

For now, there’s nowhere to go unless you plan to build r8 from source. R8 is currently only available in the Android Studio 3.3 beta at New features available in (3.3 RC2 at the time of writing). Externally, it’s also embedded in Android Studio rather than reserved as an external jar unless they give it a completely unrelated name. Searching my file system doesn’t get a single result for *r8*.jar.

Therefore, if you use this page as a guide, the easiest option is to follow the instructions to compile the source code and use the generated d8.jar and r8.jar files.

Related Problems and Solutions