Issue
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, does anyone know how to fix this or any workaround?
Solution
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.
I hope this might be helpful to someone.
Answered By - Divyesh_08
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.