Control Your Android Emulator with ADB

  Рет қаралды 16,033

CorSecure

CorSecure

2 жыл бұрын

In this video, I walk through how to use ADB to interact with an Android emulator from both a Windows machine, as well as a Linux virtual machine.
Check out my blog here:
corsecure.blog

Пікірлер: 32
@enrsdv6167
@enrsdv6167 Жыл бұрын
Incredible content!! Thanks!
@linuxinside6188
@linuxinside6188 Жыл бұрын
Thanks bro. Now I will be able to attach Android to the kali vm.
@derbi4stunt
@derbi4stunt Жыл бұрын
Hey CorSecure, thank you for this interesting video. Do you know if it is possible to use ADB on a non-rooted Android device to add a sound file in the system sounds folder ? I'm looking to change my charge sound alert on a Samsung but can't root because of Knox tripwire. Thanks!
@nicholasgerman5376
@nicholasgerman5376 10 ай бұрын
One platform tools is installed what's the commands to make it emulate your phone
@DailyClips009
@DailyClips009 11 ай бұрын
I did same flow but my emulator not show file require to restart emulator. what is solution I don't want to restart emulator
@dhavalprajapati3437
@dhavalprajapati3437 Жыл бұрын
What’s your vm network settings? Did you change networks settings on the host? Like port redirection?
@CorSecure
@CorSecure Жыл бұрын
My VM network settings is just set to NAT. I didn't do any other port forwarding or anything.
@camilozuluaga771
@camilozuluaga771 8 ай бұрын
@@CorSecure Thanks mate I was going crazy trying to set up adb port forwarding LOL
@pwnhun73r
@pwnhun73r Ай бұрын
Amazing content, congrats!! I have a question about how to connect from my vm (Ubuntu, guest) to my AVD (is in windows 11 as host), i use vmware workstation. I tried use NAT and Bridge but i cant connect with adb. Instead with Genymotion works well with bridge but i like more Android Studio.
@CorSecure
@CorSecure Ай бұрын
Did you try connecting with the 10.0.2.2 IP address? Watch the part of the video that starts around 12:15. Hopefully that section of the video can answer your question.
@pwnhun73r
@pwnhun73r Ай бұрын
@@CorSecure Yes, i tried with 10.0.2.2 but didnt work. btw i tried changing the NAT ip and network but i cant connect to adb. Is strange because nat ip is 192.168.x.x too
@CorSecure
@CorSecure Ай бұрын
I just tried it, and I was able to connect to my emulator with ADB from a VM using NAT by running adb connect 10.0.2.2. I'm not sure why it's not working for you. My only recommendation would be to restart your VM. Sometimes things don't work properly if you make changes to the network settings while the VM is powered on.
@pwnhun73r
@pwnhun73r Ай бұрын
​@@CorSecureI could solved and works perfectly. The problem was that i were using VMWare. When I changed it to Virtualbox works when the NAT network. Thank you for help me!!🦾
@jaa70
@jaa70 Жыл бұрын
thakns sir, how do you update ADB from command or via Android Studio ?
@CorSecure
@CorSecure Жыл бұрын
if you have Android Studio installed, then adb will be included in the platform-tools directory.
@WoodyTso
@WoodyTso Жыл бұрын
Sir, I would like to ask why I cannot connect the emulaor in window through my VM kali(bridge network)
@CorSecure
@CorSecure Жыл бұрын
If you are using an Android Studio emulator, I believe you need to set your VM to a NAT network. Otherwise, it won't be able to see the 10.0.2.2 address of the emulator.
@WoodyTso
@WoodyTso Жыл бұрын
@@CorSecure It work perfectly now. Thank you very much!😃
@CorSecure
@CorSecure Жыл бұрын
@@WoodyTso Glad I could help!
@ajthescot
@ajthescot 10 ай бұрын
​@@CorSecureI too having this issue just hangs then times out ,could you explain how to change this setting please
@Noman22410
@Noman22410 2 жыл бұрын
su command doesn't work for me
@Noman22410
@Noman22410 2 жыл бұрын
/system/bin/sh: su: inaccessible or not found
@CorSecure
@CorSecure 2 жыл бұрын
if you can't run su, that most likely means your device is not rooted. I have another video that a made walking through setting up an emulator with Android Studio. if you follow that guide, the device you build should be rooted, and you should be able to run su. kzbin.info/www/bejne/ZqPdaX6YndyFbNU
@once_in_the_world
@once_in_the_world Жыл бұрын
I just want to like all the videos. Dude, you're the best)
@pasive_
@pasive_ Жыл бұрын
Hello bro I am having difficulty connecting android studio emulator (host machine) using adb from Kali Linux(virtual box ) it is saying unauthorized device help me
@CorSecure
@CorSecure Жыл бұрын
Make sure you have USB debugging enabled in the Developer Options. Also you can try restarting ADB with "adb kill-server" and try running "adb devices" again. If that doesn't work maybe try some of the solutions in the Stack Overflow thread below. stackoverflow.com/questions/23081263/adb-android-device-unauthorized
@antonslavik4907
@antonslavik4907 Жыл бұрын
wtf is adb?
@wolfrevokcats7890
@wolfrevokcats7890 Жыл бұрын
Asian Development Bank
@wolfrevokcats7890
@wolfrevokcats7890 Жыл бұрын
or Android Debug Bridge
@Xpl0itme921
@Xpl0itme921 10 ай бұрын
offline device
@3rawkz
@3rawkz 6 ай бұрын
iykyk
What are APKs?
13:06
CorSecure
Рет қаралды 2,2 М.
How to use ADB and scrcpy to interact with your Android phone
6:14
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 8 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 9 МЛН
Are Linux Smartphones about to KILL Android?
11:19
Mrwhosetheboss
Рет қаралды 8 МЛН
Commonly used ADB commands for Software Testers
17:08
Knowledge Spike
Рет қаралды 3,2 М.
Setting up an Android emulator with Android Studio
11:38
CorSecure
Рет қаралды 10 М.
Android Emulation on PC
8:55
Titus Tech Talk
Рет қаралды 18 М.
Android Debug Bridge (ADB)
7:46
Loi Liang Yang
Рет қаралды 77 М.
You Should Stop Using Windows On Your Computer...
31:09
SomeOrdinaryGamers
Рет қаралды 1,2 МЛН
Проверил, как вам?
0:58
Коннор
Рет қаралды 248 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН