CrossGeeks / FileUploaderPlugin

Simple cross platform plugin to upload files.
MIT License
66 stars 27 forks source link

Error java.lang.IllegalArgumentException: already added : Lokio/AsyncTimeout; #13

Open mogue2k3 opened 6 years ago

mogue2k3 commented 6 years ago

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.

Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.

Bug Information

Version Number of Plugin: 1.4.0 Device Tested On: BQ Aquaris E5 4G Simulator Tested On: Version of VS: Visual Studio Community 2017 15.6.6 Version of Xamarin: 2.5.1.444934

Versions of other things you are using:

1.4.1 0.6.45-beta 1.4.1 1.0.6 3.3.0 0.1.4 2018.2.22-pre1 1.5.0 1.5.0 4.4.1 11.0.2 2.18.1 2.3.0 4.0.2 2.2.1 15.3.2 3.1.0 5.0.0.187-beta 2.0.0.37-beta 2.0.0.37-beta 2.0.0.37-beta 3.1.3 5.2.0 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 27.0.2 2.3.6 2.3.6 2.18.0 2.0.0 1.1.1 2.4.1 2.4.1

Steps to reproduce the Behavior

When trying to compile the Android solution and deploy to device, throws this error:

Error java.lang.IllegalArgumentException: already added : Lokio/AsyncTimeout;

Expected Behavior

Should Compile

Actual Behavior

Throws error.

Code snippet

Screenshotst

ghost commented 5 years ago

Any update on the issue we are also facing the same issue

pieteckhart commented 4 years ago

I'm having the same problem on Visual Studio for Mac. Only on running my Android project. Building Android, and running iOS works as expected.

Reproduced on Android Emulator and physical Google Pixel 3a device

kosvo commented 3 years ago

I fixed this error but can't get it merged into this repo. As workaround can suggest use my nuget based on this PR https://github.com/CrossGeeks/FileUploaderPlugin/pull/35 https://www.nuget.org/packages/Kosvo.Plugin.FileUploader/