반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- js
- Baekjoon
- 에릭슨엘지
- next
- getDerivedStateFromProps
- BOJ
- javascript
- props
- 코드캠프
- 이미지스캔
- ts
- Unmounting
- 훈훈한자바스크립트
- Girls_In_ICT
- react
- typescript
- Bestawards
- Erricson
- dataFetching
- props.key
- 자바스크립트
- filter
- 15721
- nodejs
- React.js
- 백준
- map
- axios
- GirlsInICT해커톤
- 객체인지
Archives
- Today
- Total
민희의 코딩일지
[Android] A problem occurred configuring project ':app'. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your.. 본문
Android
[Android] A problem occurred configuring project ':app'. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your..
heehminh 2022. 1. 22. 08:51반응형
A problem occurred configuring project ':app'. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your..
sdk.dir 을 설정해주었음에도 이런 오류가 떴음
문제는 업데이트된 버전의 안드로이드스튜디오를 사용하며 협업할 때는 ANDROID_SDK_ROOT를 설정해주어야 한다는 것.
1. 시스템 환경 변수 설정
시스템 속성 -> 고급 -> 환경변수
USER에 대한 사용자 변수(U)와 시스템 변수(S)에 추가
오류로 안열리는 안드로이드스튜디오 파일을 지워주고, 다시 clone
2. local_properties에서 sdk.dir 작성
USER 부분에 해당하는 PC의 이름을 작성해주는 것
해당 예시는 윈도우 버전이고, 맥 버전은 작성법이 약간 다름
-> 오류 해결!
반응형
'Android' 카테고리의 다른 글
[Android] Retrofit - Multi Module, kotiln DSL 적용하기 (1) | 2022.09.05 |
---|---|
[Android] clean architecture - 개념 (0) | 2022.09.05 |
Postman을 이용한 api 기능 확인 (0) | 2022.01.26 |
[Android] 안드로이드스튜디오 검색 자동완성 AutoCompleteTextView (0) | 2022.01.22 |
[Android] 안드로이드스튜디오 Button text 꽉차게하는 방법(padding=0dp) (0) | 2022.01.22 |
Comments