소소한 개발 공부

[유니티] androidsdk does not include your target sdk of *. 본문

개발/Unity

[유니티] androidsdk does not include your target sdk of *.

이내내 2022. 2. 2. 19:32

유니티 안드로이드 빌드 시 androidsdk does not include your target sdk of *. 하고 오류메시지가 뜰 때가 있다. 

이때 체크할 사항

 

1. 현재 sdk 경로

나는 지금 안드로이드 스튜디오의 에뮬레이터로 빌드할 것이기 때문에 sdk 경로를 안드로이드의 sdk 경로로 해줬다.

edit->Preferences...

2. 안드로이드 스튜디오의 sdk manager

안드로이드 스튜디오에 api 가 다운로드 되어있는지 체크한다.

3. 유니티 target api level 체크

유니티 빌드 시 쓰는 api 레벨을 확인한다.