본문 바로가기

IT_Story/안드로이드

Android Studio build시 오류

오늘 갑자기...

사람들이 개발한거 머지하고 빌드하려고보니까

오류가 났다.


Configuration on demand is not supported by the current version of the Android Gradle plugin since you are using Gradle version 4.6 or above. Suggestion: disable configuration on demand by setting org.gradle.configureondemand=false in your gradle.properties file or use a Gradle version less than 4.6.



머지..??????

Studio 3.1.2로 올리면서 발생한 것같은데..


해결책은,

1. gradle.properties 에서

org.gradle.configureondemand  라는 거를 삭제하고


2. settings > Build, Execution, Deployment > Compiler 에서

configure on demand 해제를 한다.


그럼 잘만댐.



여튼,

Android Studio 좀 버그좀 없애고 업데이트 하면 안되겠니??