小编Mus*_*afa的帖子

Flutter gradle 构建失败并出现异常。> 找不到 com.otaliastudios:transcoder:0.9.1

您好,当我尝试在 Android 模拟器上运行我的应用程序时,出现以下错误,

\n

我正在为我的项目使用 video_compress 3.1.2 依赖项,

\n

它适用于 ios 模拟器,但 gradle 给出了这个错误,我无法弄清楚

\n

我在 Maven 存储库上找到了这个链接,但我找不到如何使用它

\n

https://mvnrepository.com/artifact/com.otaliastudios/transcoder/0.9.1

\n
FAILURE: Build failed with an exception.\n\n* What went wrong:\nExecution failed for task \':app:mergeDebugAssets\'.\n> Could not resolve all files for configuration \':app:debugRuntimeClasspath\'.\n   > Could not find com.otaliastudios:transcoder:0.9.1.\n     Searched in the following locations:\n       - https://dl.google.com/dl/android/maven2/com/otaliastudios/transcoder/0.9.1/transcoder-0.9.1.pom\n       - https://repo.maven.apache.org/maven2/com/otaliastudios/transcoder/0.9.1/transcoder-0.9.1.pom\n       - https://storage.googleapis.com/download.flutter.io/com/otaliastudios/transcoder/0.9.1/transcoder-0.9.1.pom\n     Required by:\n         project :app > project :video_compress\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug …
Run Code Online (Sandbox Code Playgroud)

java gradle dart kotlin flutter

4
推荐指数
2
解决办法
2393
查看次数

标签 统计

dart ×1

flutter ×1

gradle ×1

java ×1

kotlin ×1