Why Warning:Unable to find optional library: org.apache.http.legacy occurs?

前端 未结 5 1921
隐瞒了意图╮
隐瞒了意图╮ 2020-12-08 07:26

My gradle file:

apply plugin: \'com.android.application\' 

android { 
  useLibrary \'org.apache.http.legacy\' 
  compileSdkVersion 23 
  buildToolsVersion \         


        
5条回答
  •  我在风中等你
    2020-12-08 07:55

    I had exactly the same issue. Please check if you have android-sdk-windows\platforms\android-23\optional\optional.json file in place. If not then just reinstall API 23 (remove and install again).

提交回复
热议问题