Testing android app under Windows Linux Subsystem

Hi there!

I’m under Windows Linux Subsystem for using ionic.

Ionic version : 3.20.0
Windows version : 10
Distributor ID: Debian
Description: Debian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch

I installed JDK (lastest stable version), then Android SDK. Also, I know the environment path are well setted cause in the windows cmd I can run android, which open the SDK (which shows the packages installed)

Now on the bash (WSL) when I run : ionic cordova run android, it says : Unhandled promise rejection (rejection id: 1): Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.

How to say to wls to fetch the path undo windows, not under debian?

Thanks in advance

@izio38 Were you ever able to get testing an Android app working through WSL?

I was able to solve the PATH variable issue but still can’t seem to get it running properly via emulator.