question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Minimum API level supported by this library

See original GitHub issue

My 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
PierfrancescoSoffritticommented, Dec 24, 2021

Well, update kotlin to 1.6.0

1reaction
PierfrancescoSoffritticommented, Dec 22, 2021

minSdk and compileSdk are two different things. I suggest you update your compileSdk to 31.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support Library - Android Developers
Starting with Support Library version 26.0.0 (released in July 2017), the minimum supported API level has changed to Android 4.0 (API level 14) ......
Read more >
What's the minimum Android API level for using new Google's ...
0 (July 2017), the minimum supported API level across most support libraries has increased to Android 4.0 (API level 14) for most library ......
Read more >
API Levels | Android versions, SDK/API levels, version codes ...
Version SDK / API level Version code Codename Cumulative usage Year Android 13 Level 33 TIRAMISU Tiramisu 2.0% 2022 Android 12 Level 32 Android 12L...
Read more >
Understanding Android API Levels - Xamarin | Microsoft Learn
Minimum Android Version – Specifies the oldest Android version that you want your app to support. This API level is used at run...
Read more >
What exactly is Jetpack? - ProAndroidDev
For example let us take support-v4, in this naming convention v4 is the representation of the minimum supported version. But starting with Support...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found