Okio (and Retrofit) causes a Lint error about access to APIs that are not supported in Android. This is because the library is also used for non-Android projects. The current fix implemented in config/lint.xml is to ignore InvalidPackage Lint errors for the problematic libraries.
This issue tracks upstream bug https://github.com/square/okio/issues/58.
Okio (and Retrofit) causes a Lint error about access to APIs that are not supported in Android. This is because the library is also used for non-Android projects. The current fix implemented in
config/lint.xml
is to ignore InvalidPackage Lint errors for the problematic libraries.