問題
flutterでandroidのリリースbuildをしていたらこのエラーにハマった
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:collectReleaseDependencies'. > java.io.FileNotFoundException: C:\Users\hoge\StudioProjects\hoge_app\android\app\libs\*jar * 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
解決法
android/app/build.gradleの以下をコメントアウト
dependencies { // implementation fileTree(dir: "libs", include: ["*.jar"]) // implementation files('libs/*jar') }