由于 libphonenumber 无法构建颤振项目

时间:2021-05-07 11:41:58

标签: flutter build continuous-integration github-actions 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 有人可以帮我解决吗?

0 个答案:

没有答案