android-dev-ext
android-dev-ext copied to clipboard
Filter installation on incompatible device APIs
Currently, the debugger allows an App to be deployed onto any device, regardless of the API level. If an app is deployed to a device with an API lower than the minimum required by the app, the installation fails.
Now that the launch routine knows the device API before deployment, we should check it against the App's API level and give an appropriate message.
We could also filter connected devices, ignoring those whose API is not compatible (rather than requiring the user to always choose a target device.)
rather than completely ignore the incompatible device, better to let the user know somehow eg grey it out or put a red X next to it.