xamarin-android-d8-build 0.2.1

Enable d8/r8 dex compiler for your Xamarin.Android application

Install-Package xamarin-android-d8-build -Version 0.2.1
dotnet add package xamarin-android-d8-build --version 0.2.1
<PackageReference Include="xamarin-android-d8-build" Version="0.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xamarin-android-d8-build --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: xamarin-android-d8-build, 0.2.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install xamarin-android-d8-build as a Cake Addin
#addin nuget:?package=xamarin-android-d8-build&version=0.2.1

// Install xamarin-android-d8-build as a Cake Tool
#tool nuget:?package=xamarin-android-d8-build&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

d8 or r8 compiler support for Xamarin.Android

Xamarin.Android as of b84de80 (which should be in d15-5) makes it possible
to alter Dex tool path and arguments enough to switch to new D8 dex compiler
in release mode, and e25f843 makes it possible to do it in debug mode.

It is simply done by setting MSBuild properties: DxJarPath and DxExtraArguments
(the latter is new in d15-5, so it won't be usable in d15-4 or earlier).

There is a NuGet package that you can just install and add to your
Android application project:
https://github.com/atsushieno/xamarin-android-d8-build

r8 sources can be found at https://r8.googlesource.com/r8

The LICENSE file is only for r8 itself. I don't believe the rest of this
project contains any creative source to make it copyrightable.

r8 or d8?

Both of them are packaged in the NuGet package above, and it is just a
matter of which DxJarPath MSBuild property points to. But basically, r8
is a proguard replacement so it will run linking steps too.
Add <DesugarWithR8>true</DesugarWithR8> in your .csproj to use r8.

d8 or r8 compiler support for Xamarin.Android

Xamarin.Android as of b84de80 (which should be in d15-5) makes it possible
to alter Dex tool path and arguments enough to switch to new D8 dex compiler
in release mode, and e25f843 makes it possible to do it in debug mode.

It is simply done by setting MSBuild properties: DxJarPath and DxExtraArguments
(the latter is new in d15-5, so it won't be usable in d15-4 or earlier).

There is a NuGet package that you can just install and add to your
Android application project:
https://github.com/atsushieno/xamarin-android-d8-build

r8 sources can be found at https://r8.googlesource.com/r8

The LICENSE file is only for r8 itself. I don't believe the rest of this
project contains any creative source to make it copyrightable.

r8 or d8?

Both of them are packaged in the NuGet package above, and it is just a
matter of which DxJarPath MSBuild property points to. But basically, r8
is a proguard replacement so it will run linking steps too.
Add <DesugarWithR8>true</DesugarWithR8> in your .csproj to use r8.

Release Notes

See github commits, there is not a lot.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.2.1 19,977 10/30/2017
0.2.0 593 10/30/2017
0.1.2 745 9/8/2017