티스토리 뷰
기존 안드로이드 스튜디오에서 실기기를 컴퓨터에 미러링을 하기 위해서는 아래와 같은 방법을 사용했다
윈도우 : mirroid
(참고 : https://kibua20.tistory.com/166)
맥 : scrcpy
(참고 : https://kibua20.tistory.com/138)
그러나 뱀장어 버전 이후 부터는 안드로이드 스튜디오에서 직접 미러링 할 수 있다.
실행 방법
메뉴 → Android Studio → Setting(Preferences / 단축키 command + ,) → Tools → Device Mirroring에 들어간 후
Enable mirroring of physical Android devices에 체크 버튼 클릭!
(혹시 Tools 안에 Device Mirroring메뉴가 없다면 Experimental을 확인하고 여기에도 없다면 버전을 확인해보자!)
그 후 Run(단축키 control + r) 해주면 가상기기가 나오는 화면에 실 기기가 나오게 되면서 미러링 된다!
'Android' 카테고리의 다른 글
[Android] registerForActivityResult() 구현하기 (1) | 2023.08.03 |
---|---|
[Android] 4대 컴포넌트 & 인텐트 (2) | 2023.08.02 |
[Android] 액티비티 생명주기 (0) | 2023.07.31 |
[Android] 인터넷접속 퍼미션 (0) | 2023.07.31 |
[Android] SDK location not found. (0) | 2023.07.28 |