android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "com.app" useLibrary 'org.apache.http.legacy' minSdkVersion 15 targetSdkVersion 22 versionCode 1 versionName "1.0" }
加上这一句就ok了
android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "com.app" useLibrary 'org.apache.http.legacy' minSdkVersion 15 targetSdkVersion 22 versionCode 1 versionName "1.0" }
加上这一句就ok了