Godot Version
4.2.2
Hello,
I´ve tried to set up the Android export on my Mac but something seems to be wrong with my PATH. My sdkmanager cannot be found in the terminal and in the export menu I get the following error:
“A valid Java SDK path is required in Editor Setting”.
I have Java version 17 as instructed in the documentation.
Android Studio is installed with Command Line tools.
I have changed the bash profile and the zprofile script as below, but the I don´t know if this is relevant, but I wanted to share it.
I did this based on the feedback from this thread: macos - Add SDK tools to path in Android Studio app - Stack Overflow
bash/zprofile profile:
export PATH=/Users/username/Library/Android/sdk
export PATH=/Users/username/Library/Android/sdk/cmdline-tools/latest:$PATH
export PATH=/Users/username/Library/Android/sdk/cmdline-tools/latest/bin:$PATH
export PATH=/Users/username/Library/Android/sdk/platform-tools:$PATH
export PATH=/Library/Java/JavaVirtualMachines/temurin-17.jdk:$PATH
I don´t know what to do anymore. Also because I don´t have much experience with these kind of topics and environmental variables.
I would be very thankful for some help! Maybe even a live session if possible, since would like to understand whats going on.
Best regards,
James