其他分享
首页 > 其他分享> > anroid import org.apache.http.Header error

anroid import org.apache.http.Header error

作者:互联网

 

//useLibrary 'org.apache.http.legacy'

in android-sdk-windows\platforms\android-26\optional

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':libcocos2dx')
implementation files('libs/android-async-http-1.4.8.jar')
//implementation 'org.apache.httpcomponents:httpcore:4.4.2'
implementation files('libs/org.apache.http.legacy.jar')
}



////////////

copy org.apache.http.legacy.jar to cocos2d-x\cocos\platform\android\java\libs

标签:http,implementation,anroid,jar,error,apache,org,android
来源: https://www.cnblogs.com/YZFHKMS-X/p/12585179.html