Needing some assistance regarding my installation and understanding how the two are integrated - if at all... I've installed Android Studio on Windows 10, Switched on WSL(Windows subsystem for Linux), installed Ubuntu for Windows and using command line installed all the good supporting stuff like Cordova, Gradle, SDKMANAGER etc. Wanting to know if I need to install Android Studio for Ubuntu rather than use the Windows version so I can have the best of both worlds.
Had heaps of issues getting my environment to this point due to targeting deprecated components and installation differences in locations and environment variables. But, learned a lot on the journey.
When I look at $PATH for Ubuntu there are references for Windows locations. So I would assume some interactions take place but knowing Windows must not modify file permissions for Ubuntu(Linux) files or folders...
**Some entries in Ubuntu/Linux PATH variable...
/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc:
/mnt/c/Program Files/Java/jdk-14.0.2/bin:
/mnt/c/Python38/Scripts/:
/mnt/c/Python38/:
/mnt/c/Windows/system32:
/mnt/c/Users/Admin/AppData/Local/atom/bin:
/mnt/c/Users/Admin/AppData/Roaming/npm:
/usr/lib/android-sdk/platform-tools:**
So I have installed Ubuntu Android-sdk at the following location...
**/usr/lib/android-sdk**
THIS link I found interesting - Android SDK can be installed in multiple locations - yeah that's helpful.
And Windows uses...
**C:\Users\Admin\AppData\Local\Android\Sdk**
The command line offers super powerful and fast results once you get your head around the process. And, Windows provides great GUI support and a more manageable interface. I'm hoping they are meant to run together and someone can explain because there's a lot or conflicting information out there.
I actually just noticed in Cordova Requirements for Android Target is now showing installed android-28 (was Android target: not installed) - I couldn't get this fixed previously but once I've finished this journey I will post items from my diary to assist others.