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]]
Google doesn't support legacy apache library so in the original class
APKEpansionPolicythis method usesURLEncodedUtilsandNameValuePairReplace this method in this and any other class with this piece of code that is splitting the query and using
Mapinstead ofNameValuePair.