flutter_plugin_record icon indicating copy to clipboard operation
flutter_plugin_record copied to clipboard

Could not find com.github.adrielcafe:ffmpeg-android-java:2a627f6ecd.

Open LJW123 opened this issue 2 years ago • 6 comments

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.github.adrielcafe:ffmpeg-android-java:2a627f6ecd. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.pom - https://jcenter.bintray.com/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.pom - https://storage.flutter-io.cn/download.flutter.io/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.pom - https://repo.maven.apache.org/maven2/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.pom - https://jitpack.io/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.pom Required by: project :app > project :flutter_plugin_record > com.github.adrielcafe:AndroidAudioConverter:0.0.8

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 40s Exception: Gradle task assembleDebug failed with exit code 1

LJW123 avatar Jul 14 '22 08:07 LJW123

Is it resolved please?

LiJinJinJIn avatar Jul 28 '22 05:07 LiJinJinJIn

Anyone help me to fix this issue, I got the same exception while my app runned on Android platform

simonluoljz avatar Jul 30 '22 04:07 simonluoljz

You can use the fork version:https://pub.dev/packages/flutter_plugin_record_plus

Fixed these bugs, supports Flutter 3.x, Updated to latest version of kotlin

RoleWong avatar Nov 05 '22 14:11 RoleWong

You can use the fork version:https://pub.dev/packages/flutter_plugin_record_plus

Fixed these bugs, supports Flutter 3.x, Updated to latest version of kotlin

You can use the fork version:https://pub.dev/packages/flutter_plugin_record_plus

Fixed these bugs, supports Flutter 3.x, Updated to latest version of kotlin

flutter_plugin_record_plus 好像有点问题呀 一开始直接运行 根据路径录制 没反应 运行默认录制 结束后再点击 根据路径录制 就好了 能看下是什么问题么

iBinbro avatar Dec 13 '22 09:12 iBinbro

Because there are many plugin warehouses on the native side of Android have been deleted, resulting in failure to download

InTheClodus avatar Mar 13 '23 01:03 InTheClodus

小弟最新解决办法 1.将源码从github下载到本地,然后修改本地源码; 2.修改错误(build.gradle注释第三方库AndroidAudioConverter); 3.修改FlutterPluginRecordPlugin.kt将报错地方全部注释; 4.编译运行源码,如果成功进入第五步; 5.到自己的flutter项目中的pubspec.yaml文件修改引用,下面是path方式引入,如果是团队协作将代码上传至git再用git的方式引入即可 flutter_plugin_record: path: D:\flutter\code\flutter_plugin_record-master 就这样问题解决了,如果你没有wav转mp3需求,就像我这样直接注释,如果有自行解决wav转mp3即可;

liu6244091 avatar Jul 17 '23 03:07 liu6244091