The error message you provided indicates that the issue is related to Cleartext HTTP traffic not being permitted on Android 8. Starting from Android 8 (Oreo), by default, secure connections over HTTPS are required and Cleartext HTTP traffic is not allowed for security reasons.
To solve this issue and allow your app to make HTTP requests on Android 8 and above, you have a few options:
1. **Upgrade to HTTPS**: The recommended solution is to upgrade your backend server to support HTTPS. This will ensure that your app communicates securely over HTTPS, which is the best practice for modern web and mobile applications.
2. **Network Security Configuration**: You can create a network security configuration file in your app to allow Cleartext traffic for specific domains or URLs. Here's an example of how you can define a network security configuration in your `res/xml/network_security_config.xml` file:
```xml
```
3. **AndroidManifest.xml**: Although you mentioned that setting `android:usesCleartextTraffic="true"` in the Manifest did not help, you can try setting it with the `android:networkSecurityConfig` attribute pointing to your network security configuration file:
```xml
android:networkSecurityConfig="@xml/network_security_config"
...>
```
By implementing one of these solutions, you should be able to resolve the Cleartext HTTP traffic issue on Android 8 and ensure your app can retrieve content from the backend server successfully.
Thanks for the answer.