This morning I upgraded the Android Studio from 1.3.[something] to 1.4. After the upgrade, when I runned the app at the bottom of the Device Chooser dialog there is a message in red "The selected device is incompatible." and the OK button is disabled.
I have multiple devices here with different android versions. On some of them which are having android 5.0+ installed there was OK text in the "Compatible" column in the Choose a running device list. After the upgrade, all are "incompatible".
Can someone please advice what to do? Should I make a fresh installation of the older Android Studio (1.3) and continue to work?
After struggling for some time, i have found a workaround: Instead of using the Device Chooser dialog, you have to deploy it directly. Steps to fix the issue:
When you run the app it will not display the Device Chooser dialog, it will deploy the app directly on the connected android device directly.
For those who still got the error when running the Mobile app, it's an issue with Android Studio 1.4.
https://code.google.com/p/android/issues/detail?id=187665
Apparently, the issue is this line:
<uses-feature android:name="android.hardware.type.watch" android:required="false"/>
Android studio seems to be ignoring the android:required="false"
part. Hopefully, it'll be fixed in subsequent updates.
I fixed the issue temporarily by invalidating cache and restarting Android Studio (Android Studio -> File -> Invalidate Caches/Restart -> Invalidate Cache and Restart). However, if this doesn't work, then you can try by bypassing the dialog in your run configurations and choosing either the device directly or emulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With