Description
Describe the bug
When the version described in a plugin's package.json for tns-android is higher than the currently added platform android, there is a warning message. The text is:
nativescript-datetimepicker 5.0.0 for android is not compatible with the currently installed framework version 4.2.0.
I find it misleading, as it seemed to me that nativescript-datetimepicker@5.0.0 plugin is not compatible with nativescript-cli@4.2.0, while the actual error is that the current version of the plugin has stated that is requires tns-android@5.0.0, while the currently installed tns-android is 4.2.0
To Reproduce
Check the warning message. I saw it in the console, when I lowered the runtime version of a plugin demo to a version lower than the one in the plugin's package.json, for example change the version on this line to 4.2.0.
Expected behavior
The message should me more clear about which versions are not compatible, for example:
nativescript-datetimepicker requires at least version 5.0.0 of platform android. Currently installed version is 4.2.0.