Closed PauLL54 closed 8 years ago
You should be able to add the following to your build.gradle:
android {
......
useLibrary 'org.apache.http.legacy'
}
Which file should we use?
./platforms/android/CordovaLib/build.gradle
./platforms/android/build.gradle
Will this be rewritten in order to not use a deprectaed library?
Best,
Use ./platforms/android/build.gradle
When compiling the Cordova project with CLI version 6.0.0, the build failed: "package org.apache.http does not exist".
The reason seems to be that the apache packages are deprecated. Is there a way to still use the apache packages?