본문 바로가기
반응형

Development Solutions/Flutter & Dart65

[flutter] The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility 문제 상황 flutter 프로젝트 빌드 중에 아래와 같은 에러메시지가 표시되고 빌드에 실패합니다. The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility 해결 방법 1. Project folder > android > app > build.gradle에 아래와 같이 수정합니다. (없다면 추가) multiDexEnabled true 2. [project_folder] > android > app > gradle.properties에 아래와 같이 추가 또는 수정합니다. android.useAndroidX=true a.. 2021. 11. 23.
[flutter] A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade 문제 상황 빌드 실패하고 에러메시지에 아래와 같은 문구가 나옵니다. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade 해결 방법 1. .../android/build.gradle 에서 gradle 버전을 아래처럼 다운그레이드합니다. - v4.x 라면 classpath 'com.android.tools.build:gradle:4.0.0' - v3.x라면 classpath 'com.android.tools.build:gradle:3.4.2' 2. gradle.properties 내용을 아래와 같이 수정합니다. org.gradle.jvmargs=-Xmx4608m 3. flutter clea.. 2021. 11. 22.
[flutter] Shader compilation error 문제 상황 flutter 버전 업그레이드 이후부터 프로젝트 앱 빌드시 Shader compilation error를 포함한 에러가 여러번 호출되는 문제가 있었습니다. 해결 방법 flutter 버전을 다운그레이드 하는 방법 flutter run --enable-software-rendering 명령을 이용하여 다시 빌드하는 방법 안드로이드 에뮬레이터의 하드웨어 가속을 disable하는 방법 필자는 flutter run --enable-software-rendering 명령으로 문제를 해결했습니다. https://www.google.com/search?q=Shader+compilation+error&oq=Shader+compilation+error&aqs=chrome..69i57j0j0i30l2j0i5i30.. 2021. 11. 21.
[flutter] How to hold the bottom of the widget (위젯의 하단 고정 방법) [flutter] How to hold the bottom of the widget [flutter] 위젯의 하단 고정 방법 문제 상황 (a problem situation) 위젯을 UI화면의 하단에 고정하고 싶습니다. (I want to fix the widget to the bottom of the UI screen.) body: Column( children: [ Body(), Container( height: 50, child: AdWidget( ad: _banner, ), ), ], ), 해결 방법 (Workaround) 하단에 고정하고자 하는 위젯 호출 전에 Spacer()를 호출합니다. (Call Spacer() before calling the widget you want to pin to.. 2021. 11. 20.
반응형