Using ADB with WSL2

  • Windows 10 Pro Insider — build 19541
  • WSL 2 — Ubuntu 18.04.3 LTS
  • ADB — version 1.0.41 (29.0.5–5949299)
  • remove any previous port mapping on port 5037 (default port of ADB)
  • start the ADB server
  • add port mapping for 0.0.0.0:5037 to 127.0.0.1:5037
  • start WSL (to ensure the virtual interface is created; see below)
  • disable the firewall for the virtual interface “vEthernet (WSL)”

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Recording, syncing and exporting web audio

3 Ways to Reverse a String in JavaScript

How similar is the execution of Java and JavaScript?

Tablet Gillis states content Easter

TypeScript vs JavaScript

Using React’s State Hook Inside the Effect Hook Without an Endless Re-Render

It’s React time…basically

REST services & KoaJS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adrien Pellegrini

Adrien Pellegrini

More from Medium

Moneris Payment Gateway Integration React Native

Setting custom push notification sound in react native android

Remote Push notifications with react native on Android

Daily Notes React Native, JavaScript, XCODE, android Gradle