由于 libphonenumber 无法构建颤振项目

问题描述

我已将我的 Flutter rproject 迁移到 2.x 及其所有依赖项。一切正常,但是一旦我将其推送到 github action 作业就会失败并出现此错误

$destinationPath = public_path("/images/".$image_name); 
if (File::exists($destinationPath)) 
{
    $contents = File::get($destinationPath);
    Storage::disk('s3')->put($image_name,$contents,['mimetype' => 'image/svg+xml'],'public');
}

如果我尝试点击那个网址,我会得到 * What went wrong: Execution Failed for task ':libphonenumber:javaPreCompileRelease'. > Could not resolve all files for configuration ':libphonenumber:releaseCompileClasspath'. > Could not download libphonenumber.jar (com.googlecode.libphonenumber:libphonenumber:8.12.19) > Could not get resource 'https://jcenter.bintray.com/com/googlecode/libphonenumber/libphonenumber/8.12.19/libphonenumber-8.12.19.jar'. > Could not GET 'https://jcenter.bintray.com/com/googlecode/libphonenumber/libphonenumber/8.12.19/libphonenumber-8.12.19.jar'. > Connection reset * 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 3m 32s 有人可以帮我解决吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)