Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 2 tasks
divyesh08 opened this issue Mar 10, 2021 · 1 comment
Closed
1 of 2 tasks

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

divyesh08 opened this issue Mar 10, 2021 · 1 comment

Comments

@divyesh08
Copy link

🐛 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

  • Add latest lottie package to existing project (XF version 4.8.0.1821)
  • Try to run project, it will give this error

Configuration

Version: 1.x

Platform:

  • 📱 iOS
  • 🤖 : Android
@divyesh08
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant