The error says URLEncodedUtils
is not found. Is there a workaround.
Caused by java.lang.ClassNotFoundException
Didn't find class "org.apache.http.client.utils.URLEncodedUtils" on path: DexPathList[[zip file "/data/app/com.app.p-MY70To6m946K0_uiYLCsSg==/base.apk"],nativeLibraryDirectories=[/data/app/com.app.p-MY70To6m946K0_uiYLCsSg==/lib/arm64, /data/app/com.app.p-MY70To6m946K0_uiYLCsSg==/base.apk!/lib/arm64-v8a, /system/lib64]]
The Apache libraries have been removed. If you were previously using
useLibrary 'org.apache.http.legacy
in your build.gradle
, it no longer works in Android Pie.
Instead, you have to add
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
to your AndroidManifest
.
See here for official release notes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With