raspberry-vanilla/android_local_manifest

No "Debug over Wi-Fi" option on Developer Options (RPi5)

Closed this issue · 2 comments

I am unable to connect to adb over wi-fi

failed to connect to '192.168.0.126:5555': Connection refused

Not quite how it works on any recent Android version (Android 11 and above). Please see e.g. https://developer.android.com/tools/adb.

@ErikCopel Have you tried to set the property (using USB for the first time)?
adb shell setprop persist.adb.tcp.port 5555

or add following to your .mk file?

PRODUCT_VENDOR_PROPERTIES += \
    persist.adb.tcp.port=5555