Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
https://baseflow.com
Apache License 2.0
1.22k stars 261 forks source link

Getting error - "java exited with code 1" at a compile time. #323

Closed divyesh08 closed 3 years ago

divyesh08 commented 3 years ago

🐛 Bug Report

I have installed Com.Airbnb.Xamarin.Forms.Lottie nuget version 4.0.8. When I have run the app in Android device it throws java exited with code 1 error at compile time.

In my project Xamarin.Forms nuget version is 4.8.0.1821

Pro guard is disabled in my Android build option and Multidex option is also enabled. Also I have tried to increase heap size but it still not works.

Screenshot 2021-03-10 at 3 38 53 PM

Expected behavior

App should be run without any error.

Reproduction steps

Configuration

Version: 1.x

Platform:

divyesh08 commented 3 years ago

I have figured out the real reason of this error. This error is actually cause by the modernhttpclient (2.4.2). I have removed this nuget from all projects and the error is gone! So, the real culprit is modernhttpclient and not Lottie.