- [Flutter]Cannot fit requested classes in a single dex file (# methods: 91243 > 65536) 목차
반응형
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
제목과 위와 같은 메시지가 나오면
아래처럼 수정해 준다
"project/app/build.gradle"으로 가서 build.gradle 화일을 연다
이 파일에서
defaultConfig {
...
multiDexEnabled true
}
그리고
dependencies {
...
implementation 'com.android.support:multidex:1.0.3'
}
이 두개의 구문을 추가해 준다
flutter에서 생성한 build.gradle에는 이 구문이 포함되어 있지 않다
반응형
'flutter' 카테고리의 다른 글
[VSCode]안드로이드 AVD 설치 및 Flutter 연결 (0) | 2022.01.15 |
---|---|
[VSCode]주석(Commnet) 만들기/해제하기 (0) | 2021.12.26 |
[Flutter]null-safety 적용(type casting, ? ! operator) (0) | 2021.11.21 |
[Flutter]keytool error: java.lang.Exception: Keystore file does not exist: ~/.android/debug.keystore (0) | 2021.09.05 |
'keytool'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는배치 파일이 아닙니다. (0) | 2021.08.22 |