If you are trying to run Android App from Android Studio on a device connected to your System and you see "The selected device is incompatible". Then the reason for this error is that the minSdkVersion set in build.gradle (AndroidManifest.xml if you are using Eclipse) the file is higher than the version of your Android Phones Operating system.
Solution:- Open app -> Gradle Scripts -> build.gradle (Module:app)
- Change the minSdkVersion version lower than your device attached.
- You would see "Gradle files have changed since last project sync." click on Sync Now next to it.
- Now try running the app on your device.
Note: If you get some other error in Console ( usually it would be a java exception stack-trace) then the code that you are using is not compatible to Older APIs (example new features like Fingerprint Authentication added in the Latest Marshmallows version)
More Posts related to Android-Studio,
- Locate MainActivity Java or Kotlin file in Android Studio
- groovy.lang.MissingPropertyException No such property Error
- How to fix java.net.NoRouteToHostException in Android Studio
- Your Android SDK is missing, out of date or corrupted SDK Problem
- [Android Studio] MainActivity does not exist
- [Android Studio] Could not automatically detect an ADB binary
- Android Studio: Cannot perform refactoring operation
- How to Configure Eclipse keymap in IntelliJ IDE
- Android Studio setup was canceled - How to resume
- [Android Studio] Hardcoded string Button, should use @string resource
- The selected device is incompatible : Android Studio
- Android Activity Main xml stuck loading
- Android Studio 1.3 beta now Available for Developers
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- Android Studio 4.2 Canary 1 now available
- [Android Studio] Button on click example
- Eclipse like Auto Import Shortcut in Intelij IDE Android Studio
- How to enable line numbers in IntelliJ Android Studio for all files
- Delete Android Studio Projects
- How to update Android Studio
- [Android Studio] Error: Missing system image on device
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio
- Android [SDK Manager] The system cannot find the path specified
- Failed to install Android.apk on device 'emulator-5554': timeout
- [Solved] Error launching studio
More Posts:
- How to open SharePoint Online Modern SPFX links in new tab - SharePoint
- Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later. - Android
- Get-ADUser PowerShell - Get AD user details using email address - SharePoint
- Create SharePoint Site Collection with new Content database in existing web application - SharePoint
- reCAPTCHA Implementation Tutorial - CSS
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint) - SharePoint
- Install Node on Mac Ventura 13 - MacOS
- How to Download Jira App for Mac - Jira