Some test text!

Loading...
Guides
java.exe error after updating to support library 28

java.exe error after updating to support library 28

Question:

We are facing java.exe error when building application project in Xamarin.Android with latest version 6.9.3 after updating to support library 28.

Answer:

  1. Install Visual Studio 2019 or latest version of Visual Studio for Mac

  2. Open your project file (with extension .csproj) in a text editor

  3. Add a new property group:

    <PropertyGroup>
      <DxExtraArguments>--dex --no-strict --force-jumbo</DxExtraArguments>
      <AndroidMultiDexClassListExtraArgs>--disable-annotation-resolution-workaround</AndroidMultiDexClassListExtraArgs>
    </PropertyGroup>
  4. Fully clean and build your project

Get the answers you need: Support

Upcoming Webinar: SDK Features Preview and Live Run-Through | July 14, 2022 at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use