Execution failed for task ':app:checkDebugAarMetadata' flutter

162 Views Asked by At

I got this error when I'm using video_compress package.

pubget:-

pubget

error (when i try to run project):-

error, when I'm trying to run project

Dart Version :- Dart version

Flutter Version :- Flutter Version

Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.otaliastudios:transcoder:0.9.1.

How can we fix this error for both platform? (Android and iOS)

1

There are 1 best solutions below

1
Kasun Hasanga On

Navigate to app-level build.gradle file. Change compileSdkVersion to 33 and Change targetSdkVersion to 33

compileSdkVersion flutter.compileSdkVersion
targetSdkVersion flutter.targetSdkVersion

to

compileSdkVersion 33
targetSdkVersion 33