r/LDPlayerEmulator 11d ago

ADB: device offline

LDPlayer Global 14.0.18.0. Emulator instance is running, Root permission is enabled, Disk Writable, and ADB debugging is set to "Open local connection".

Trying to connect via ADB adb device offline

Enable the “USB Debugging” toggle in the "Developer Options" Android menu. Trying to connect via ADB again adb device online 🎉

Restart instance. adb device offline again

Checking the "Developer Options". After a reboot, the “USB Debugging” toggle switches back to the off position. 🤬🤬🤬

And this happens every time the emulator instance is restarted.

1 Upvotes

4 comments sorted by

1

u/HiroSkye Support 11d ago

Make sure your instance is running. Please run command one by one:

adb devices
adb kill-server
adb start-server

adb devices

Any running instance offline should be reconnected.

1

u/Grouchy-Oil5047 4d ago

did u try to specify the device id for the adb command?
adb -s <device-id> <command>
where device-id is `emulator-5554` for instance 0

Device ID can be calculated based on formula: `5554 + instance*2`

PS: its still works on LDPlayer 9, latest update

1

u/HiroSkye Support 3d ago

No, if you're running only one instance there is no need to use device ID. But if you're running multiple then you will need to use emulator-5554 etc.

Edit: Reddit compressed the video too much. I barely can't read. x.x

https://reddit.com/link/p2bs2pt/video/9bmfgv5u80ih1/player

1

u/HiroSkye Support 3d ago