I have an Android project (using android-studio/gradle) which includes an external library which is not specifically written for Android. This library uses java.utils.Objects which is only available in API level 19.
I have minSdkVersion set to 15 but lint or the compiler does not complain about the library using java.utils.Objects. I only found out by running the application on a pre level 19 phone.
If I use java.utils.Objects in my own code lint detects this and complains about it. It does not complain about the library using it.
Is it possible to detect unsupported features used by libraries at compile time/with lint?
0 comments:
Post a Comment