Flutter 개발 Story
Gradle exception 에러 본문
잘 동작하던 Flutter가 갑자기 에러가 발생했다.
안드로이드 context를 찾을 수 없다는 등, Gradle expection은 create하라고 하는 등의 에러에 직면했다.
필자는 다음과 같이 해결했다.
우선 flutter의 버전을 업데이트하고,
안드로이드 gradle에
buildTypes { release { minifyEnabled false shrinkResources false}
을 추가했다.
그리고 sdk를 android 30으로 맞췄다.
추후에 해당 부분에서 왜 이런 에러가 발생했는지 자세히 알아봐야겠다.
'Flutter' 카테고리의 다른 글
State란? (0) | 2021.04.15 |
---|---|
StateManagement(InheritedWidget, Provider) (0) | 2021.04.15 |
Future (0) | 2021.04.02 |
A RenderFlex overflowed by ~ pixels on the bottom. (0) | 2021.02.17 |
Flutter 기본_isolate (0) | 2021.02.15 |
Comments