[Flutter Error] Note: Recompile with -Xlint:deprecation for details.

민태호·2024년 7월 24일

에러 목록

목록 보기
4/5

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

상세한 에러 확인이 필요하다고 한다.


상세한 에러 확인 방법

android > bulid.gradle 파일에 다음 추가

tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
    }

이제 다시 빌드를 진행하면, 상세한 에러가 표시된다.
맞게 대응하면 된다.

profile
지렁이도 성장하고 싶으면 꿈틀거린다

0개의 댓글