Open Shailesh2006 opened 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.
@Shailesh2006
Thanks for the report, but can you provide minimal repro sample please?
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
[] GPS-FB with AndroidX dependencies (versions
1xx.yyyy.zz
)[] GPS-FB with Android.Support (legacy) dependencies (versions
71.yyyy.zz
)Describe your Issue
Getting error Java exited with code 1. MSB6006 when I add the package "com.Airbnb.Android.Lottie 3.5.0"
Relevant information
Add relevant project settings from
*.csproj
file:Packages used:
Packages used:
Build settings (tools)
or even better - links to the existing code:
https://github.com/xamarin/AndroidX/blob/master/samples/BuildAll/BuildAll/BuildAll.csproj#L41-L44
https://github.com/xamarin/AndroidX/blob/master/samples/BuildXamarinFormsApp/BuildXamarinFormsApp/BuildXamarinFormsApp.Android/BuildXamarinFormsApp.Android.csproj#L57-L58
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: