Monday, April 29, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1203  / 1 Year ago, sun, february 5, 2023, 1:02:54

I have the android-sdk installed on Windows, and I have exported its path to the ANDROID_SDK_ROOT WSL environment variable. Should WSL be able to compile my projects using the SDK that's installed on Windows? It says my SDK is corrupted when I try to build my Cordova project. Could this be the cause? I've uninstalled/reinstalled the same version of the SDK and a few other, but the problem remains.



 Answers
4

WSL can run Windows programs but they will be run as normal Windows processes. I'm not familiar with the program that you are trying to run, but be aware that it is equivalent to running it on Windows.


You can ensure your interoperability works by calling notepad.exe from Linux and seeing notepad start. If this works, then your problem is specific to the application you're running.


Compiling in one OS with another OS's tools seems unlikely to work, I'm not familiar enough with Android's SDK to comment any further.


[#149] Sunday, February 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
smelrop

Total Points: 263
Total Questions: 122
Total Answers: 108

Location: Saudi Arabia
Member since Thu, Jan 28, 2021
3 Years ago
smelrop questions
;