Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Error on adding SDK to project #10

Closed
Emmarex opened this issue Jan 27, 2018 · 2 comments
Closed

Error on adding SDK to project #10

Emmarex opened this issue Jan 27, 2018 · 2 comments

Comments

@Emmarex
Copy link

Emmarex commented Jan 27, 2018

Have been getting this error since i added Naxm MapBox sdk to my xamarin project.

"/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3): Error: java.lang.IllegalArgumentException: already added : Lokio/AsyncTimeout"

Please how do i fix this? Once i remove this plugin and it other dependencies like Square.OkHttp3 and Square.OkIO my project builds successfully. I have MultiDex enabled already

@Emmarex
Copy link
Author

Emmarex commented Jan 30, 2018

Issue resolved. Removing modernhttpclient solved the issue

@Emmarex Emmarex closed this as completed Jan 30, 2018
@tuyen-vuduc
Copy link
Contributor

If you upgrade to latest version, you could keep ModernHttpClient. remove Naxam OkHttp packages will work.

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

No branches or pull requests

2 participants