xamarin / GooglePlayServicesComponents

Other
315 stars 147 forks source link

Getting error Java exited with code1 MSB6006 after I install com.airbnb.Lottie package latest. #443

Open Shailesh2006 opened 3 years ago

Shailesh2006 commented 3 years ago

Xamarin.Android Version (eg: 6.0):

16.9.000.273

Operating System & Version (eg: Mac OSX 10.11):

both Windows10 and MACOS 10.15.6

Google Play Services Version

Describe your Issue

Getting error Java exited with code 1. MSB6006 when I add the package "com.Airbnb.Android.Lottie 3.5.0"

 C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1.

   processing ClassesZip, JavaLibrariesToEmbed...
1>  C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\java.exe -Xmx1G -classpath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\r8.jar" com.android.tools.r8.D8 --debug --min-api 27 --output obj\Debug\110\android\bin\ --lib "C:\Program Files (x86)\Android\android-sdk\platforms\android-30\android.jar" obj\Debug\110\android\bin\classes.zip "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v11.0\mono.android.jar" "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\\java_runtime.jar" C:\Users\schaudhary\.nuget\packages\xamarin.google.guava.listenablefuture\1.0.0.2\buildTransitive\monoandroid50\guava-listenablefuture.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.annotation\1.1.0.9\buildTransitive\monoandroid9.0\..\..\jar\androidx.annotation.annotation.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.collection\1.1.0.7\buildTransitive\monoandroid9.0\..\..\jar\androidx.collection.collection.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.lifecycle.common\2.3.0.1\buildTransitive\monoandroid9.0\..\..\jar\androidx.lifecycle.lifecycle-common.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.arch.core.common\2.1.0.8\buildTransitive\monoandroid9.0\..\..\jar\androidx.arch.core.core-common.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.constraintlayout.solver\2.0.4.2\buildTransitive\monoandroid9.0\..\..\jar\androidx.constraintlayout.constraintlayout-solver.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.room.common\2.2.6.1\buildTransitive\monoandroid9.0\..\..\jar\androidx.room.room-common.jar C:\Users\schaudhary\.nuget\packages\xamarin.androidx.concurrent.futures\1.1.0.2\buildTransitive\monoandroid9.0\..\..\jar\androidx.concurrent.concurrent-futures.jar obj\Debug\110\lp\0\jl\bin\classes.jar obj\Debug\110\lp\0\jl\libs\okhttp-3.9.0.jar obj\Debug\110\lp\0\jl\libs\okio-1.13.0.jar obj\Debug\110\lp\1\jl\bin\classes.jar obj\Debug\110\lp\100\jl\classes.jar obj\Debug\110\lp\101\jl\classes.jar obj\Debug\110\lp\102\jl\classes.jar obj\Debug\110\lp\103\jl\classes.jar obj\Debug\110\lp\104\jl\classes.jar obj\Debug\110\lp\105\jl\classes.jar obj\Debug\110\lp\106\jl\classes.jar obj\Debug\110\lp\107\jl\classes.jar obj\Debug\110\lp\108\jl\classes.jar obj\Debug\110\lp\109\jl\classes.jar obj\Debug\110\lp\110\jl\classes.jar obj\Debug\110\lp\2\jl\bin\classes.jar obj\Debug\110\lp\3\jl\bin\classes.jar obj\Debug\110\lp\65\jl\classes.jar obj\Debug\110\lp\66\jl\classes.jar obj\Debug\110\lp\67\jl\classes.jar obj\Debug\110\lp\68\jl\classes.jar obj\Debug\110\lp\69\jl\classes.jar obj\Debug\110\lp\70\jl\classes.jar obj\Debug\110\lp\71\jl\classes.jar obj\Debug\110\lp\72\jl\classes.jar obj\Debug\110\lp\73\jl\classes.jar obj\Debug\110\lp\74\jl\classes.jar obj\Debug\110\lp\75\jl\classes.jar obj\Debug\110\lp\76\jl\classes.jar obj\Debug\110\lp\77\jl\classes.jar obj\Debug\110\lp\78\jl\classes.jar obj\Debug\110\lp\79\jl\classes.jar obj\Debug\110\lp\8\jl\okio.jar obj\Debug\110\lp\80\jl\classes.jar obj\Debug\110\lp\81\jl\classes.jar obj\Debug\110\lp\82\jl\classes.jar obj\Debug\110\lp\83\jl\classes.jar obj\Debug\110\lp\84\jl\classes.jar obj\Debug\110\lp\85\jl\classes.jar obj\Debug\110\lp\86\jl\classes.jar obj\Debug\110\lp\87\jl\classes.jar obj\Debug\110\lp\88\jl\classes.jar obj\Debug\110\lp\89\jl\classes.jar obj\Debug\110\lp\90\jl\classes.jar obj\Debug\110\lp\91\jl\classes.jar obj\Debug\110\lp\92\jl\classes.jar obj\Debug\110\lp\93\jl\classes.jar obj\Debug\110\lp\94\jl\classes.jar obj\Debug\110\lp\95\jl\classes.jar obj\Debug\110\lp\96\jl\classes.jar obj\Debug\110\lp\97\jl\classes.jar obj\Debug\110\lp\98\jl\classes.jar obj\Debug\110\lp\99\jl\classes.jar 
1>  Error in obj\Debug\110\lp\0\jl\libs\okio-1.13.0.jar:okio/AsyncTimeout$Watchdog.class:
1>  Type okio.AsyncTimeout$Watchdog is defined multiple times: obj\Debug\110\lp\0\jl\libs\okio-1.13.0.jar:okio/AsyncTimeout$Watchdog.class, obj\Debug\110\lp\8\jl\okio.jar:okio/AsyncTimeout$Watchdog.class
1>  Compilation failed
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1.
1>Done executing task "D8" -- FAILED.

Relevant information

Add relevant project settings from *.csproj file:

Packages used:

 <ItemGroup>
    <PackageReference Include="Xamarin.AndroidX.AppCompat" Version="1.2.0.7" />
    <PackageReference Include="Xamarin.Google.Android.Material" Version="1.3.0.1" />
    <PackageReference Include="Xamarin.Essentials">
      <Version>1.6.1</Version>
    </PackageReference>
    <PackageReference Include="Newtonsoft.Json">
      <Version>12.0.3</Version>
    </PackageReference>
    <PackageReference Include="Shiny.BluetoothLE">
      <Version>2.0.0.2533-preview</Version>
    </PackageReference>
    <PackageReference Include="Shiny.Core">
      <Version>2.0.0.2533-preview</Version>
    </PackageReference>
    <PackageReference Include="Makaretu.Dns">
      <Version>2.0.1</Version>
    </PackageReference>
    <PackageReference Include="SimpleBase">
      <Version>3.0.1</Version>
    </PackageReference>
    <PackageReference Include="Humanizer.Core">
      <Version>2.8.26</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.SwipeRefreshLayout">
      <Version>1.1.0.2</Version>
    </PackageReference>
    <PackageReference Include="System.Buffers">
      <Version>4.5.1</Version>
    </PackageReference>
    <PackageReference Include="System.Memory">
      <Version>4.5.4</Version>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\essentials\data\Extron.Data.Abstractions\Extron.Data.Abstractions.csproj">
      <Project>{BF23996C-482F-415E-861B-C2333708D7E4}</Project>
      <Name>Extron.Data.Abstractions</Name>
    </ProjectReference>
    <ProjectReference Include="..\essentials\ioc\Extron.IOC\Extron.IOC.csproj">
      <Project>{8B4F3C3B-6932-40A3-A78B-C73F10A76A98}</Project>
      <Name>Extron.IOC</Name>
    </ProjectReference>
    <ProjectReference Include="..\essentials\platform\Extron.Platform.Abstractions\Extron.Platform.Abstractions.csproj">
      <Project>{2395CF9C-5D44-49F7-9693-6EF6A69278B0}</Project>
      <Name>Extron.Platform.Abstractions</Name>
    </ProjectReference>
    <ProjectReference Include="..\essentials\platform\websocket-xsharp\websocket-xsharp.csproj">
      <Project>{41678ECC-464B-40ED-9C62-4BA5C7A4EC0B}</Project>
      <Name>websocket-xsharp</Name>
    </ProjectReference>
    <ProjectReference Include="..\essentials\platform\Extron.Platform.Droid\Extron.Platform.Droid.csproj">
      <Project>{57734C7D-EADF-4050-81BC-D0D352717F26}</Project>
      <Name>Extron.Platform.Droid</Name>
    </ProjectReference>
    <ProjectReference Include="..\SectionedRecyclerview.DroidX\SectionedRecyclerview.DroidX.csproj">
      <Project>{E7E249D8-D58D-41AE-BE09-FC47FBB9C3E7}</Project>
      <Name>SectionedRecyclerview.DroidX</Name>
    </ProjectReference>
  </ItemGroup>
 <Import Project="..\Extron.Platform.Shared\Extron.Platform.Shared.projitems" Label="Shared" />
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Migration.1.0.8\build\monoandroid90\Xamarin.AndroidX.Migration.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Migration.1.0.8\build\monoandroid90\Xamarin.AndroidX.Migration.targets')" />
  <Import Project="..\..\..\packages\Xamarin.Google.Guava.ListenableFuture.1.0.0.2\build\monoandroid50\Xamarin.Google.Guava.ListenableFuture.targets" Condition="Exists('..\..\..\packages\Xamarin.Google.Guava.ListenableFuture.1.0.0.2\build\monoandroid50\Xamarin.Google.Guava.ListenableFuture.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Annotation.1.1.0.9\build\monoandroid9.0\Xamarin.AndroidX.Annotation.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Annotation.1.1.0.9\build\monoandroid9.0\Xamarin.AndroidX.Annotation.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Arch.Core.Common.2.1.0.8\build\monoandroid9.0\Xamarin.AndroidX.Arch.Core.Common.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Arch.Core.Common.2.1.0.8\build\monoandroid9.0\Xamarin.AndroidX.Arch.Core.Common.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Collection.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.Collection.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Collection.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.Collection.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Lifecycle.Common.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.Common.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Lifecycle.Common.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.Common.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Lifecycle.Runtime.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.Runtime.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Lifecycle.Runtime.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.Runtime.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.VersionedParcelable.1.1.1.7\build\monoandroid9.0\Xamarin.AndroidX.VersionedParcelable.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.VersionedParcelable.1.1.1.7\build\monoandroid9.0\Xamarin.AndroidX.VersionedParcelable.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Core.1.3.2.3\build\monoandroid9.0\Xamarin.AndroidX.Core.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Core.1.3.2.3\build\monoandroid9.0\Xamarin.AndroidX.Core.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.CustomView.1.1.0.6\build\monoandroid9.0\Xamarin.AndroidX.CustomView.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.CustomView.1.1.0.6\build\monoandroid9.0\Xamarin.AndroidX.CustomView.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.RecyclerView.1.1.0.8\build\monoandroid9.0\Xamarin.AndroidX.RecyclerView.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.RecyclerView.1.1.0.8\build\monoandroid9.0\Xamarin.AndroidX.RecyclerView.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.RecyclerView.Selection.1.1.0.1\build\monoandroid9.0\Xamarin.AndroidX.RecyclerView.Selection.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.RecyclerView.Selection.1.1.0.1\build\monoandroid9.0\Xamarin.AndroidX.RecyclerView.Selection.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Media.1.2.1.2\build\monoandroid9.0\Xamarin.AndroidX.Media.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Media.1.2.1.2\build\monoandroid9.0\Xamarin.AndroidX.Media.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.ExifInterface.1.3.2.2\build\monoandroid9.0\Xamarin.AndroidX.ExifInterface.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.ExifInterface.1.3.2.2\build\monoandroid9.0\Xamarin.AndroidX.ExifInterface.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Annotation.Experimental.1.0.0.9\build\monoandroid9.0\Xamarin.AndroidX.Annotation.Experimental.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Annotation.Experimental.1.0.0.9\build\monoandroid9.0\Xamarin.AndroidX.Annotation.Experimental.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.CursorAdapter.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.CursorAdapter.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.CursorAdapter.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.CursorAdapter.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Interpolator.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.Interpolator.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Interpolator.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.Interpolator.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Lifecycle.LiveData.Core.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.LiveData.Core.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Lifecycle.LiveData.Core.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.LiveData.Core.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Lifecycle.ViewModel.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.ViewModel.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Lifecycle.ViewModel.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.ViewModel.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.SavedState.1.1.0.1\build\monoandroid9.0\Xamarin.AndroidX.SavedState.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.SavedState.1.1.0.1\build\monoandroid9.0\Xamarin.AndroidX.SavedState.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Lifecycle.ViewModelSavedState.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.ViewModelSavedState.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Lifecycle.ViewModelSavedState.2.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Lifecycle.ViewModelSavedState.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Activity.1.2.0.1\build\monoandroid9.0\Xamarin.AndroidX.Activity.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Activity.1.2.0.1\build\monoandroid9.0\Xamarin.AndroidX.Activity.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.DrawerLayout.1.1.1.2\build\monoandroid9.0\Xamarin.AndroidX.DrawerLayout.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.DrawerLayout.1.1.1.2\build\monoandroid9.0\Xamarin.AndroidX.DrawerLayout.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Loader.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.Loader.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Loader.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.Loader.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.VectorDrawable.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.VectorDrawable.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.VectorDrawable.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.VectorDrawable.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.VectorDrawable.Animated.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.VectorDrawable.Animated.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.VectorDrawable.Animated.1.1.0.7\build\monoandroid9.0\Xamarin.AndroidX.VectorDrawable.Animated.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.AppCompat.AppCompatResources.1.2.0.7\build\monoandroid9.0\Xamarin.AndroidX.AppCompat.AppCompatResources.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.AppCompat.AppCompatResources.1.2.0.7\build\monoandroid9.0\Xamarin.AndroidX.AppCompat.AppCompatResources.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.ViewPager.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.ViewPager.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.ViewPager.1.0.0.7\build\monoandroid9.0\Xamarin.AndroidX.ViewPager.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Fragment.1.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Fragment.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Fragment.1.3.0.1\build\monoandroid9.0\Xamarin.AndroidX.Fragment.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.AppCompat.1.2.0.7\build\monoandroid9.0\Xamarin.AndroidX.AppCompat.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.AppCompat.1.2.0.7\build\monoandroid9.0\Xamarin.AndroidX.AppCompat.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.Browser.1.3.0.5\build\monoandroid9.0\Xamarin.AndroidX.Browser.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.Browser.1.3.0.5\build\monoandroid9.0\Xamarin.AndroidX.Browser.targets')" />
  <Import Project="..\..\..\packages\Xamarin.AndroidX.MultiDex.2.0.1.7\build\monoandroid9.0\Xamarin.AndroidX.MultiDex.targets" Condition="Exists('..\..\..\packages\Xamarin.AndroidX.MultiDex.2.0.1.7\build\monoandroid9.0\Xamarin.AndroidX.MultiDex.targets')" />

Packages used:

Build settings (tools)

  <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{26C23FD8-02F9-43D2-B62C-B1853165DCF5}</ProjectGuid>
    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <TemplateGuid>{122416d6-6b49-4ee2-a1e8-b825f31c79fe}</TemplateGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>sharelinkpro1k.Droid</RootNamespace>
    <AssemblyName>sharelinkpro1k.DroidX</AssemblyName>
    <FileAlignment>512</FileAlignment>
    <Deterministic>True</Deterministic>
    <AndroidApplication>True</AndroidApplication>
    <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
    <AndroidResgenClass>Resource</AndroidResgenClass>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
    <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
    <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
    <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
    <AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
    <AndroidUseAapt2>true</AndroidUseAapt2>
    <AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
    <AndroidSupportedAbis>armeabi-v7a;arm64-v8a</AndroidSupportedAbis>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>True</DebugSymbols>
    <DebugType>portable</DebugType>
    <Optimize>False</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
    <AndroidLinkMode>None</AndroidLinkMode>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>True</DebugSymbols>
    <DebugType>portable</DebugType>
    <Optimize>True</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AndroidManagedSymbols>true</AndroidManagedSymbols>
    <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
    <AndroidLinkMode>SdkOnly</AndroidLinkMode>
    <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Core" />
    <Reference Include="Mono.Android" />
    <Reference Include="System.Numerics" />
    <Reference Include="System.Numerics.Vectors" />
    <Reference Include="Org.Webrtc">
      <HintPath>..\runtime\Org.Webrtc.dll</HintPath>
    </Reference>
  </ItemGroup>

or even better - links to the existing code:

NOTE: Please DO NOT submit screenshot images. Images are not searchable!

Minimal Repro Code Sample

If you want to speed up investigation and bug fixing: please provide minimal repro sample for tests.

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

moljac commented 3 years ago

Relevant notes:

1>  Error in obj\Debug\110\lp\0\jl\libs\okio-1.13.0.jar:okio/AsyncTimeout$Watchdog.class:
1>  Type okio.AsyncTimeout$Watchdog is defined multiple times: obj\Debug\110\lp\0\jl\libs\okio-1.13.0.jar:okio/AsyncTimeout$Watchdog.class, obj\Debug\110\lp\8\jl\okio.jar:okio/AsyncTimeout$Watchdog.class
1>  Compilation failed
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1.
1>Done executing task "D8" -- FAILED.
moljac commented 3 years ago

@Shailesh2006

Thanks for the report, but can you provide minimal repro sample please?