on Android 9.0/p phone, flash back, the error information is as follows:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;
this is a bug in GooglePlay Services that you can fix by :
solution :
Add :
to the application tag of the manifest file, androidmanifest.xml
<uses-library android:name="org.apache.http.legacy" android:required="false" />
as follows:
Read More:
- Execution failed for task ‘:app:processDebugManifest’.
- Manifest merger failed with multiple errors, see logs
- Android Studio error “Manifest merger failed with multiple errors, see logs” solution
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- Installation error: install_ FAILED_ VERSION_ DOWNGRADE
- Java and Android commons codec usage and nosuch method error
- Perfect solution Error:Execution failed for task ‘: APP:transformClassesWithDexForDebug ‘… Problem
- Execution failed for task ‘:app:processDebugManifest’
- App: Cleartext traffic not permitted
- Android android.intent.category Purpose and use of. Launcher
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Unknown error (SQLite code 14): could not open database (How to Fix)
- Developing in Android java.net.SocketException : socket failed: eacces (permission denied) reported an error
- [Solved] Android Gradle configure error: Location: Class buildconfig
- Android has applied for permission and still prompts open failed: eacces (permission denied)
- Conversion to dalvik format failed with error 1 solution
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- How to remove the title bar (using the request window feature)( Window.FEATURE_ NO_ Title); why it fails)
- Solution of fileuriexposedexception for Android 7.0 behavior change