에러 내용
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns
http://schemas.android.com/repository/android/common/01
[ ] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns
http://schemas.android.com/repository/android/generic/01
[ ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns
http://schemas.android.com/sdk/android/repo/addon2/01
[ ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns
http://schemas.android.com/sdk/android/repo/repository2/01
[ ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns
http://schemas.android.com/sdk/android/repo/sys-img2/01
에러 원인
검색을 해보니까 Android API 와 BuildToolsVersion 이 안맞아서 그런 것 같다.
해결 방법
1. android > build.gradle 의 dependencies
- classpath 'com.android.tools.build:gradle:7.0.1'
2. android > gradle > wrapper > gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
'Flutter > ERROR' 카테고리의 다른 글
[GETX] Binding 문제 (0) | 2021.12.20 |
---|---|
[ERROR] TextField, TextFormField PrefixIcon, SuffixIcon 사이즈 줄이기 (0) | 2021.11.30 |
[ERROR] M1 에서 구글 로그인이 안되는 에러 (0) | 2021.11.09 |
[ERROR] ios 프로젝트 설정 오류 - Runner config, cocoapods (0) | 2021.11.09 |