안드로이드

안드로이드 ERROR: 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. 에러 해결방법

알통몬_ 2020. 2. 25. 09:52
반응형


공감 및 댓글은 포스팅 하는데

 아주아주 큰 힘이 됩니다!!

포스팅 내용이 찾아주신 분들께 

도움이 되길 바라며

더 깔끔하고 좋은 포스팅을 

만들어 나가겠습니다^^

 


오늘 안드로이드 스튜디오버전을 업데이트했습니다.

근데 업데이트 후 안드로이드 스튜디오가 켜지자마자 아래 에러가 발생했는데요.


ERROR: 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.

The following AndroidX dependencies are detected: androidx.annotation:annotation:1.1.0


해결방법은 간단합니다.

gradle.properties 파일을 열어서

android.useAndroidX=true

요거 한 줄만 추가해주면 끝! 입니다.

반응형