Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin

Home Page:https://baseflow.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error MSB6006: "java.exe" exited with code 1, when update the package version

x0axz opened this issue Β· comments

commented

πŸ› Bug Report

When I update the Package version from 3.0.6 to any above version and then compile the project, I'm getting this error.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1..

Xamarin.Android.D8.targets

<D8
	Condition=" '$(_UseR8)' != 'True' "
	ToolPath="$(JavaToolPath)"
	JavaMaximumHeapSize="$(JavaMaximumHeapSize)"
	JavaOptions="$(JavaOptions)"
	JarPath="$(AndroidR8JarPath)"
	AndroidManifestFile="$(IntermediateOutputPath)android\AndroidManifest.xml"
	OutputDirectory="$(_AndroidIntermediateDexOutputDirectory)"
	Debug="$(AndroidIncludeDebugSymbols)"
	JavaPlatformJarPath="$(JavaPlatformJarPath)"
	ClassesZip="$(_AndroidIntermediateClassesZip)"
	JavaLibrariesToEmbed="@(_JavaLibrariesToCompileForApp);@(_InstantRunJavaReference)"
	AlternativeJarLibrariesToEmbed="@(_AlternativeJarForAppD8)"
	JavaLibrariesToReference="@(AndroidExternalJavaLibrary)"
	EnableDesugar="$(AndroidEnableDesugar)"
	ExtraArguments="$(AndroidD8ExtraArguments)"
/>

When I downgrade package to 3.0.6, and then compile the project, it work smoothly.

Expected behavior

Shouldn't give "java.exe" exited with code 1. error.

Reproduction steps

Update the Package version from 3.0.6 to any above version.

Configuration

Version: Above 3.0.6

Platform:
Android

commented

Resolved it with the help of this comment. Make sure to install the new ModernHttpClient version.