오류 내용

https://velog.io/@cho2kkh/Flutter-%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EC%95%B1-%EB%B0%B0%ED%8F%ACAPK

 

[Flutter] 안드로이드 앱 배포(APK)

Android Asset Studio에서 런처 아이콘을 생성할 수 있다.https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html대충 아이콘을 만든 다음 ic_launcher.zip 파일을 다운로드

velog.io

 

플러터 배포를 위해 위 사이트를 참고하여 따라하던 중 "flutter build appbundle" 단계에서 아래 오류가 발생했다.

 

오류 로그

[Flutter] A problem occurred evaluating project ':app'. > path may not be null or empty string. path='null'

 

오류 발생 지점

app\build.gradle

storeFile file(keystoreProperties['storeFile'])

 

 

해결 방법

위 사이트에서 key.properties 파일을 android/app/에 생성하라고 했지만, android/app이 아닌 andoroid에 있어야 위 오류가 발생하지 않았다.