mac android studio 업데이트 후 Compilation is not supported for following modules: app 에러
IT/Android 2020. 11. 13. 17:32728x90
업데이트를 했는데 에러가 납니다.
- Compilation is not supported for following modules: app, yellow. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
해결방법은
- 프로젝트를 닫습니다
- 프로젝트 폴더에 .idea 폴더를 제거합니다
finder에서는 .이 붙은 파일/폴더는 숨김 기본입니다.
finder에서 프로젝트 폴더를 terminal로 드래그 드롭하면 terminal이 해당 위치로 열립니다.
rm 명령어로 삭제합니다.
- 프로젝트 폴더에 프로젝트이름.iml 파일을 삭제합니다
- app 폴더에 app.iml 파일을 삭제합니다
- android studio를 시작합니다
728x90
'IT > Android' 카테고리의 다른 글
android studio github 연동 (0) | 2021.03.19 |
---|---|
안드로이드 스튜디오 (android studio) 폰트(font)변경 (0) | 2020.11.25 |
mac android studio change git url (0) | 2020.11.10 |