Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with SKD 24 #7

Open
linhtranvu opened this issue Jan 26, 2021 · 2 comments
Open

Build error with SKD 24 #7

linhtranvu opened this issue Jan 26, 2021 · 2 comments

Comments

@linhtranvu
Copy link

linhtranvu commented Jan 26, 2021

I build with Cordova 9, Android and get error with SDK version

 uses-sdk:minSdkVersion 22 cannot be smaller than version 24 declared in library [com.arthenica:mobile-ffmpeg-full:4.4] C:\Users\ADMIN\.gradle\caches\transforms-2\files-2.1\e401fa10edb9a2e6dacae23269c7eecd\mobile-ffmpeg-full-4.4\AndroidManifest.xml as the library might be using APIs not available in 22
        Suggestion: use a compatible library with a minSdk of at most 22,
                or increase this project's minSdk version to at least 24,

Could you update SDK version of Android core, thanks

@nooitaf
Copy link

nooitaf commented Apr 25, 2021

Have the same issue. I think it's related to the mobile-ffmpeg package. Which is now deprecated and moved to ffmpeg-kit. I tried to fork this and change it to to ffmpeg-kit, but there is more to be done then just change the package it seems. Will try again tomorrow, but don't have much confidence, as my java skill level is zero :(

@nooitaf
Copy link

nooitaf commented Apr 26, 2021

Hmm.. i think it's related to gradle options, so might not be ralated to any package.
build.gradle has a defaultMinSdkVersion which for me was set to 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants