be aware of adb disconnected automatically phone

be aware of adb disconnected automatically phone

By medeb | personalblog | 23 Jul 2023


Hello,
When running android app in react native and your PC performance is low then it could run emulator instead your phone.
The reason behind this is that your adb device is disconnected.
What is required?
Before run android app:
Check adb devices
adb devices
Try to connect and reconnect your phone if disconnected.
Do reverse proxy:
adb reverse tcp:8031 tcp:8031
Otherwise if disconnected Android Studio will run emulator instead which blocks your work.

How do you rate this article?

1



personalblog
personalblog

My daily experience in crypto world

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.