Closed jmarti326 closed 4 years ago
Target Android 10 and use the latest visual studio.
Hi @martijn00 thank you for taking the time to comment on my open item. I do have the following configuration, if there is anything I need to change or fix other than that, please let me know. Again, thank you for the time.
Error I am getting when deploying and opening the app in the Android Simulator.
Nuget Install in the Android Project
MainPage.xaml
Android Target Framework
You need to use AndroidX instead of Android Support v7.
We might be getting closer. 😅🙈
I looked for this error online, and tried a couple of recommendations. Still continue to have the error.
After a little bit of more google search, and a comment from a team member, I was able to get the library working in Android.
Need to go to Toolbar.xml inside the layout folder.
Change android.support.v7.widget.Toolbar
To androidx.appcompat.widget.Toolbar
Result
@martijn00 Thank you for your help. :)
💬 Questions and Help
Hi, I was able to made it work on iOS, but in Android I am unable to view the animation. After some Google search some recommend to install the Com.Airbnb.Android.Lottie along side Com.Airbnb.Xamarin.Forms.Lottie but this just makes the app crash once is install in the emulator.
I would like to know if there is a special step I need to do for the new version 4.0.7.