본문 바로가기

Programming/Android Studio

[ 오류 ] androidX 오류

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.
(1) 업데이트 -> X
(2) Gradle Scripts > build.gradle (Module: ...app) > compileSdkVersion, targetSdkVersion 수정 -> 이상적인 컴파일 sdk 버전을 설정하는 것이라 상관이 없다.

 

<정답>

(3) Gradle Scripts > gradle.properties > android.useAndroidX=true 추가

 

< 근거 >

ㅇr....

 

< 결론 >빌드 오류 메세지를 읽자... 한국에서 태어나 한국어를 사랑해도 죅금은 영어를 읽자...