컴퓨터 프로그래밍/Flutter
[Error] Flutter & Android - path may not be null or empty string. path='null'
아타나시오
2021. 8. 12. 19:38
728x90
에러 로그
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/i-bong/development/flutter_project/fearless_plus/android/app/build.gradle' line: 74
* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'
* 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
주석처리
// signingConfigs {
// release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']
// }
// }
// buildTypes {
// release {
// signingConfig signingConfigs.release
// }
// }
원인
git push시에 ignore로 인해 해당 파일이 누락되었다.