How to use ADB and scrcpy to interact with your Android phone

preview_player
Показать описание
Finally I am answering the most asked question from all of my Android game automation videos: How do I use ADB? How are you mirroring your device? What emulator is that? And more.

Android Platform Tools:

scrcpy:

Hope you enjoyed the video!

Check out this code here:

Join my Discord server to chat with me:

Check out some code on my GitHub:

Come visit us on Reddit:

Other Social:
Рекомендации по теме
Комментарии
Автор

Just two days ago i was struggling with react native and adb stuff, and here's the engineer again to help me out 👊🏻, thanks man a lot.

yassineelghizi
Автор

Thanks!! Thanks to this I was finally able to acess my older phone with cracked display and unfunctional touchscreen.

JakubYTb
Автор

Been using scrcpy for a while! great little program to mirror my phone on screen.

slitairek
Автор

Yes! Thank you so much for finally doing this!

noahnolte
Автор

It was just two commands for me :
*sudo apt install adb*
*sudo apt install scrcpy*
Linux is so much easy to get things done!

rudeviper
Автор

I'd strongly recommend anyone who intends to use this to play games to look at the bitrate flag. Newer versions may default to a better bitrate (1.16 defaults to 8Mbps, which is probably fine), but the older version I was using needed a bump to smooth out the blockiness.

Otherwise it's perfect, except that whole sound thing.

_mnejing
Автор

Thank you for finally addressing this!

yomajo
Автор

When i'm trying to swipe, i am gatting an error:
java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission

jakubmazur
Автор

Thanks! Maybe it's an idea to add this video to the Android playlist? Had some trouble finding this video :)

brentgees
Автор

thanks man, do u have any python learning videos?
ur explanation is awesome

.millionvolts
Автор

finally fucking yes i can record my phone's screen using my PC

segsfault
Автор

I wish knew scrcpy some weeks ago :)). Anyway, good tutorial!

rahmanuhermawan
Автор

Don't forget, if you want to save battery while using adb &
scrcpy, be sure to turn your brightness all the way down ;)

EdnovStormbrewer
Автор

Is there a way to read values off of the screen using adb? For example: playing a game where you have stamina and have to wait for it to regen. Is there a way to read how much stamina you have?

daltonbyers
Автор

I’m looking for a USB-C splitter for my Pixel 7 Pro that can connect to its USB-C port. The splitter should have two female USB-C ports: one for connecting USB-C Apple EarPods to make phonee calls, and the other for charging the phone and supporting data transfer. This data transfer should enable USB debugging mode, allowing me to use the mirroring application, scrcpy. I’ve noticed that most products on Amazon only support data transfer on the port that supports audioo, but not on the charging port. Can you recommendd a product that meets these requirements?

Renee.Dominique
Автор

Great video. Have you ever tried/had success with Anbox? What would you recommend in terms of Android emulation on Linux?

iodreamify
Автор

Are there any differences between using the Android Studio supplied ADB vs the standalone ADB? Or will scrcpy work automatically with Android Studio?

Guytron
Автор

Thank you for the video. I have a small doubt. I'm using my phone's Wi-Fi hot-spot to connect my laptop to access the internet. Can I access my phone using adb in this scenario?

DeepakSingh-xtio
Автор

how to usb debug connect if android unable to reboot phone? help!!

terryterry
Автор

Great video!
How do you add the grid of the mouse location in scrcpy?

florianl