Minimum API level supported by this library
See original GitHub issueMy compileSdkVersion is 30. I was using your 10.0.5 version.
Then the player stopped working (videos load but do not auto play and you also can’t play them). No errors on the debug, just one warning that I guess was related to this lib, since it’s the only youtube-related lib I’m using:
I/chromium: [INFO:CONSOLE(920)] "Unrecognized feature: 'picture-in-picture'.", source: https://www.youtube.com/s/player/8da38e9a/www-widgetapi.vflset/www-widgetapi.js (920)
I came here and saw there was an update to 11.0.1, which is nice because it probably will fix whatever is happening… So i updated my graddle with it.
When I try to build it, it brings a problem:
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.lifecycle:lifecycle-runtime-ktx:2.4.0.
AAR metadata file: ----\jetified-lifecycle-runtime-ktx-2.4.0\META-INF\com\android\build\gradle\aar-metadata.properties
Your readme/graddle says the minAPI is 17. But one of your dependencies requires the compileSdk to be 31… so that 17 is kinda wrong? I guess?
Is there anything I can do to fix this without raising my sdk?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Well, update kotlin to 1.6.0
minSdk
andcompileSdk
are two different things. I suggest you update yourcompileSdk
to 31.