본문 바로가기

OS/Andorid5

[ADB] error: more than one device/emulator scrcpy로 여러 안드로이드 단말 중 특정 단말에만 명령어 날리기 adb -s {DEVICE} shell input keyevent {숫자} ex. adb -s testdevice shell input keyevent 224 -> 특정 단말에 wakeup 명령어 날리기 샤오미 제품은 ADB KEYCODE_WAKEUP ADB 명령어가 동작하지 않는다 구글 검색 시에 설정 -> 권한에서 팝업 띄우기를 하면 된다고 하지만 홍미노트 9S에서 동작하지 않았다. 이건 다시 확인해봐야할 문제인듯 하다. (머하기만 하면 샤오미는 안됨..ㅠ) 2021. 1. 18.
Windows에서 안드로이드 휴대폰 단말기 미러링 하기 github.com/Genymobile/scrcpy/blob/master/README.md#windows Genymobile/scrcpy Display and control your Android device. Contribute to Genymobile/scrcpy development by creating an account on GitHub. github.com 해당 사이트에 가면 scrcpy-win64-v1.17.zip 를 받을 수 있다. 단말기를 PC와 USB로 연결 한 후, 압축을 풀고 scrcpy를 실행하면 된다. 단, USB 드라이버가 설치되어야 한다.(제조사 마다 링크가 달라서 이건 알아서...^^;;) 2021. 1. 15.
MAC에서 안드로이드 휴대폰 단말 미러링 하기 scrcpy를 사용해서 맥에서 안드로이드 단말기 미러링을 할 수 있다. brew install scrcpy 설치 후 USB 연결, 이때 단말기 개발자 모드 디버깅 모드가 ON 되어 있어야 한다. adb devices 해당 명령어로 단말기 연결되어 있는지 확인할 수 있다. ➜ ~ adb devices List of devices attached LMQ925K6764ce36 device 화면에 터치를 나타내려면 다음 옵션을 주면 된다. scrcpy --show-touches or scrcpy -t 단말기를 제대로 연결됐음 미러링이 된걸 확인할 수 있다. 중간에 계속 검정 화면의 Sleep Mode로 변경되는데 해당 명령어를 통해 해결할 수 있다. adb shell input keyevent KEYCODE_W.. 2021. 1. 11.
국내 OS 별, 단말기별 점유율 https://developer.android.com/about/dashboards/ https://www.appbrain.com/stats/top-android-phones-tablets-by-country?country=KR https://www.appbrain.com/stats/top-android-sdk-versions http://gs.statcounter.com/vendor-market-share/mobile/asia/2018 2018. 11. 30.