I have a strange issue. My app is using http to connect to a server. It works fine in many devices. However, in Xiaomi devices which has Android 9, it gives me this error: In the AndroidManifest.xml I have this: My network_security_config.xml file: Also, I have all the permission to connect to the internet. It works fine in Many devices
Tag: android-9.0-pie
Failed to find Platform SDK with path: platforms;android-P
Error:FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ‘:app’. Failed to find Platform SDK with path: platforms;android-P Answer Step 1: Open Preferences or Settings in Android studio. Select Android SDK options and Install Android API 28 as selected below. Step 2: There’s a problem with compileSdkVersion as you have to change it from ‘android-P’