adminy / cordova-plugin-ffmpeg

16 stars 27 forks source link

Build error with SKD 24 #7

Open linhtranvu opened 3 years ago

linhtranvu commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.