Forum Xamarin.Android

Java.exe exited with code 1 (MSB6006) on ModernHttpClient and Picasso Library

ChristopherDrososChristopherDrosos GRMember ✭✭
edited September 2015 in Xamarin.Android

Im getting this error after installing modernHttpClient component, i guess is a conflict with Picasso library component because both use okHttp? how i can resolve this?
I just want it for a simple image download:

var httpClient = new HttpClient(new NativeMessageHandler());
byte[] bytes = null;
bytes = await httpClient.GetByteArrayAsync(url);

Best Answer

Answers

  • ChristopherDrososChristopherDrosos GRMember ✭✭
    edited September 2015

    i will download the image with picasso then with something like this

    Picasso.
      with(Context).
      load(ImageFile.Url).
      into(null);
    

    thanks

Sign In or Register to comment.