Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The selected Device is Incompatible

I debug the app using my phone (not emulator) and the error pops up, as shown in attached photo below.

minSdk(API 19) > deviceSdk(API 1)

enter image description here

like image 772
suiwenfeng Avatar asked Oct 29 '15 05:10

suiwenfeng


People also ask

Why app not compatible with my device?

It appears to be an issue with Google's Android operating system. To fix the “your device is not compatible with this version” error message, try clearing the Google Play Store cache, and then data. Next, restart the Google Play Store and try installing the app again.


1 Answers

I have a device that uses Android 4.4.2 (API 19). It gave the same strange conflict stating the minimum was API 16 and it conflicted with an API 1 device.

This is what I did and it worked after some time. I'm not sure of the order (or the significance) of each step.

Verify that the "Android SDK Manager" had both "API 19 SDK Build-tools" and "Android 4.4.2 (API 19)" packages installed.

Set the /etc/usb/rules.d/51-android.rules has to be set by using running lsusb and then entering the first four digits in the XXXX:XXXX pair of your device. See the following answer for help https://stackoverflow.com/a/28724457/149162

In the terminal, run adb kill-server then adb start-server.

After this, in the "Device Chooser" window, my device read that it was [UNDOCUMENTED] instead of [OFFLINE], but it was still incompatible and the OK button was disabled.

Plug the device in using a USB cord. Go into Settings/Developer options. (Turn on developer options, if showing. If not showing, turn on by tapping Settings/About Phone/Build number 7 times.) In "Developer options" tap "USB debugging". Device dialog box "Allow USB debugging?" will ask you to confirm your computer's RSA fingerprint. Make sure you check the option "Always allow from this computer" and tap OK button.

Run and check your "Device Chooser" dialog again. It should change from [OFFLINE] or whatever it was to the device's name with spelled out Android version and API. State field will change to "Online" and Compatible field will change to "Yes".

Image of recognized device

like image 124
jetimms Avatar answered Sep 27 '22 20:09

jetimms