Android Apache Http MultipartEntityBuilder的Maven存储库
我正试图将Android Apache Http MultipartEntityBuilder的Maven存储库,android,maven,Android,Maven,我正试图将'MultipartEntityBuilder'文件导入到Android项目中,但我一生都找不到正确的存储库 我尝试过这三个Apache HttpComponents网站,但没有成功: compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'org.apache.httpcomponents:httpclient:4.5.1' compile 'org.apache.httpcomponents:httpasyncclie
'MultipartEntityBuilder'
文件导入到Android项目中,但我一生都找不到正确的存储库
我尝试过这三个Apache HttpComponents网站,但没有成功:
compile 'org.apache.httpcomponents:httpcore:4.4.3'
compile 'org.apache.httpcomponents:httpclient:4.5.1'
compile 'org.apache.httpcomponents:httpasyncclient:4.1'
有人能给我指出正确的方向吗?提前谢谢。回答我自己的问题(大约一个小时的搜索之后)
最后一个有MultipartEntityBuilder
。可以取出httpasyncclient
和httpclient
还需要在渐变文件中添加排除项:
以其他方式吐出假人,并告诉您与重复文件相关的内容(红色)
compile 'org.apache.httpcomponents:httpcore:4.4.3'
compile 'org.apache.httpcomponents:httpmime:4.5.1'
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}