Baseflow / Baseflow/LottieXamarin

Dependency issue with Square.OkIO

Open
#397 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
253
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

When building with SDK Linking mode I'm getting an error related to the Square.OkIO dependency. I'm referencing another project that's using the latest version of Square.OkIO.

The error I'm getting is the following:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Legacy.targets(649,5): error XALNK7000: Mono.Linker.MarkException: Error processing method: 'Airbnb.Lottie.Parsers.Moshi.JsonReader Airbnb.Lottie.Parsers.Moshi.JsonReader::Of(Square.OkIO.IBufferedSource)' in assembly: 'Airbnb.Lottie.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Square.OkIO.IBufferedSource

**Version:** 4.2.2

**Platform:**
- [ ] :robot: Android

Contributor guide

Open the contributing guide

Research direction

Begin by reproducing the SDK Linking build for version 4.2.2 and inspect how the Square.OkIO dependency is referenced by Airbnb.Lottie.dll. Done means the linker resolves Square.OkIO.IBufferedSource when the project references the latest Square.OkIO; no source file or test is identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.