question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xamarin.Forms issue

See original GitHub issue

Hi, the library seems great, but I have some initial problems 😦 I installed NuGet packages into PCL and Droid projects, put sample LottieLogo1.json file inside Asset directory (Droid version), place sample XAML code into PCL:

xmlns:forms="clr-namespace:Lottie.Forms;assembly=Lottie.Forms"
...
  <forms:AnimationView 
    x:Name="AnimationView"
    Animation="LottieLogo1.json"
    Loop="True"
    AutoPlay="True"
    VerticalOptions="FillAndExpand"
    HorizontalOptions="FillAndExpand" />

But when opening the page, the following error message is shown:

System.TypeLoadException: Could not load type ‘Lottie.Forms.Droid.AnimationViewRenderer’ from assembly ‘Lottie.Forms.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.

Any idea how fix that and why is it happening?

thanks! Pavel

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
martijn00commented, Mar 5, 2017

As you can see on Nuget: https://www.nuget.org/packages/Xamarin.Forms/2.3.3.193 The limit on v23 has been lifted. Just make sure you are on 2.3.3.193 or higher and target Android v24 or higher and everything will work.

0reactions
arvindbca123commented, Jan 9, 2019

Hi Martijn00 I want to install your package in xamarin.form, as per your comment need to install seperatlly in android and ios also but in form successfully installed but unable to install in Android, AnimationViewRenderer doesn’t exist the the current context when trying to add it to MainActivity.cs could you help me please…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · xamarin/Xamarin.Forms
Xamarin forms UI Elements bug after returning from a website. #15748 opened on May 22 by vsfeedback · [Bug] Find element by automation...
Read more >
Xamarin Forms: Issue with downloading image to device
I follow this blog to implement downloading image from URL and saving it to device. My code: IDownloader.cs public interface IDownloader ...
Read more >
When and how should I file a bug report? - Xamarin
Use the Report a problem menu item in Visual Studio – this will send diagnostic information along with your bug report to help...
Read more >
Xamarin Forms issue, not returning to the app after login
I am having some issues implementing the login in xamarin forms. I tried using the example here: ...
Read more >
Solving Xamarin Forms issues - YouTube
This video will walk you through solving some of the common Xamarin Forms issues : 1) The Windows Phone emulaotor won't start, that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found