본문 바로가기

그냥

안드로이드 스튜디오 에러해결 - ERROR: Unsupported method: AndroidProject.getVariantNames().

android studio 를 업데이트 하고 기존 프로젝트를 불러왔더니 이런 에러가 뜨면서 진행이 안된다.

 

ERROR: Unsupported method: AndroidProject.getVariantNames().

The version of Gradle you connect to does not support that method.

To resolve the problem you can change/upgrade the target version of Gradle you connect to.

Alternatively, you can ignore this exception and read other information from the model.

 

방법은 File - Settings - Experimental 탭에서 - 체크돼있는 Only sync the active variant를 체크해제 해주고 Try again을 누르면 된다 : )

 

 

 

도움이 되셨다면 좋아요 클릭 ! 감사합니다.