title: Running React Native in WSL with the emulator running directly in Windows
body: <p>I haven't done Android development in a while, so my knowledge of modern Android development is spotty.</p>
  
  <p>I'm trying to learn React Native. I use WSL as my primary development environment. Since it'll probably be a pain to set up the Android emulator in Linux/WSL, I want to run the emulator directly on Windows. However, I'd prefer to be able to run <code>react-native run-android</code> in WSL.</p>
  
  <p>How would I set up React Native to be able to run <code>react-native run-android</code> in WSL and run the app in an Android emulator on Windows?</p>
  
  <p>My <code>ANDROID_HOME</code> variable should be set up correctly, but I don't know enough about Android to know if this is doing anything:</p>
  
  <pre><code>export ANDROID_HOME=/mnt/c/Users/Leo/AppData/Local/Android/sdk
  export PATH=${PATH}:${ANDROID_HOME}/tools
  export PATH=${PATH}:${ANDROID_HOME}/platform-tools
  </code></pre>