How to run/Gradle sync a project from WSL2 on Windows android studio? #17737
Unanswered
Angel009
asked this question in
CLI - Capacitor / Cordova modes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I managed to start the windows version of android studio from wsl2. However, I cannot get to a successful Gradle sync.
-Android studio knows that the project is located on WSL and tells me to use the JDK installed on the same WSL distribution.
-It stays at "android: failed" (Running Gradle on WSL...) after I set the correct path to the jdk and run everything again.
Has anyone found a solution or faced something similar?
Beta Was this translation helpful? Give feedback.
All reactions