1. your project file contains non-ascii characters 오류
해결 방법 1) 설치 시에 위와 같은 메시지가 뜰 때가 있는 데,
이는 설치 경로에 한글 폴더가 있는 경우이므로 한글을 영어로 바꿔주자.
해결 방법 2) 한글 폴더가 windows 계정 이름인 경우,
이 때는 windows 계정을 하나 더 만들어야 된다. ( 만들 때 새 계정 이름은 꼭 영어로. )
(저는 이미 만들어놓은 administrator 계정이 있어서 계정 만드는 방법은 구글링을 통해 해결하세요.)
영어로 된 계정에서 android studio 깔아보면 아마 되실 거에요.
+ 저는 원래 계정이 하나 더 있었어서 만들어서 사용했는데
구글링 해보니 mklink 명령어를 사용해서 해결하기도 하더라구요
두 계정 사용이 불편하신 분들은 구글링 추천!
2. Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager 오류
코드를 실행할 때 생긴 오류인데, 이 때는 이렇게 하니 해결되었다. (stack overflow 참고하여 해결)
1. 안드로이드 스튜디오에 gradle scripts에 들어간다.
2. compileSdkVersion, buildToolsVersion, targetSdkVersion의 31을 각각 30으로 바꿔준다.
3. 그 때 전구 모양의 click and choose sync
4. Tools - SDK Manager 에서 Android 11.0 (R) 선택 후 OK
https://stackoverflow.com/questions/68387270/android-studio-error-installed-build-tools-revision-31-0-0-is-corrupted
Android Studio error "Installed Build Tools revision 31.0.0 is corrupted"
I'm on Android Studio 4.2.2. I created a new project and haven't added anything to the starter code and whenever I click build or run, I get this error: Installed Build Tools revision 31.0.0 is cor...
stackoverflow.com
본인은 위 링크 참고해서 해결함
'기타 > kotlin' 카테고리의 다른 글
[kotlin] Array and List (0) | 2021.07.29 |
---|---|
[kotlin] 5. 조건문 (0) | 2021.07.28 |
[kotlin] 4. String (0) | 2021.07.22 |
[kotlin] 3. val vs var (0) | 2021.07.21 |
[kotlin] 2. 함수 (0) | 2021.07.20 |