Articles in the Tips & Tricks category

Connecting to Android device from Windows Subsystem for Linux using ADB

Jarosław Wierzbicki, on Tue 01 June 2021

A few weeks ago COVID-19 finally hit Taiwan (so far we've been doing pretty well) and I had to move to work from home like the rest of the world (well at least some of it). This forced me to use my work laptop for more than meetings.

Normally I use a Linux PC for daily work so to get at least some of the comfort back I've set up Windows Subsystem for Linux version 2 (WSL2) on the laptop.

This didn't go without a few bumps along the way. The biggest one was the fact that WSL2 doesn't support accessing USB devices (version 1 allegedly does [1] but I didn't have a chance to check) from Linux. And this was a problem for me since I need to connect to an Android device frequently.

But as long as there's Internet there's hope. After digging for some time I wasn't disappointed because it turned out that there is a solution to this problem.