"A valid android SDK path is required in Editor settings" error

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By d8sconz

I’ve just upgraded to 3.4, now I can’t export my project which was working fine before. No matter what I try this error appears on the export dialog and all buttons are greyed out. The SDK path is there in the editor. It’s the correct path that used to work. I’ve been 3 days trying to figure this out so any clues would be gratefully accepted.

:bust_in_silhouette: Reply From: aadyainfotainment

Editor Settings → Android → Android SDK Path

Most of the times the path is as per below:

Check if SDK exists in the given path.
Make sure adb.exe exists in “Sdk\platform-tools”

Hi, I was exporting without problems with Godot version 4.2, I updated to version 4.3 dev3 and now I have the error that the SDK path does not exist (it is correct in the editor options), the adb.exe file also exists. Could you know what the problem would be? Update Android Studio and also install the versions recommended by the 4.2 documentation

1 Like

Same error !.
Any Solution ?..

para solucionar ese inconveniente debes hacer lo siguiente abrir desde el buscador de Windows editar las variables de entorno del sistema una vez abierto en la parte de inferior dice variables de entorno damos click, aparecen 2 recuadros verificamos en el recuadro de abajo el que dice Pach y damos doble click, abre una nueva ventana y en la primera opción normalmente esta la ruta la cual para mi es C:\Program Files\Eclipse Adoptium\jdk-\bin borras la parte de la ruta que dice bin dejándola de esta forma C:\Program Files\Eclipse Adoptium\jdk- y esta ruta la pegas en la configuracion de tu proyecto donde esta siendo solicitada editor, configuración del editor, Android, java SDK path