raspberry-vanilla / android_local_manifest

105 stars 48 forks source link

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

Closed ErikCopel closed 5 days ago

ErikCopel commented 5 days ago

I am unable to connect to adb over wi-fi

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

KonstaT commented 5 days ago

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

adufftpc commented 4 days ago

@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