Android Httpclient [NoSuchMethodError:org.apache.http.entity.ContentType.create]

前端 未结 3 1540
情书的邮戳
情书的邮戳 2021-02-06 10:55

I want upload image from android to spring controller. I already connected android with spring using rest api call (httpclient) My code is :

final String jsonUse         


        
3条回答
  •  抹茶落季
    2021-02-06 11:12

    Looks like you use incompatible jar's for httpmime and httpclient-android. Try to use version 4.3.6 of httpmime

提交回复
热议问题