partharoy-digicert commented on issue #926:
URL:
https://github.com/apache/cordova-android/issues/926#issuecomment-2982582632
Thanks @Mehditerranee & @joaaogui ,
After combining both your steps it worked in MacOS Sequoia,
Here's what I followed,
- Installed the **Android SDK Command-line Tools** in Android Studio
- The _avdmanager_ is inside `Library/Android/sdk/cmdline-tools/latest/bin`,
accordingly I updated my `.zshrc` file,
```
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export PATH=$PATH:$ANDROID_HOME/build-tools
```
One important thing is you must have `JAVA_HOME` configured as well, I used
sdkman for that,
```
# Show the list of jdks available
sdk list java
# Install the specific JDK
sdk install java 17.0.14-jbr
```
Then updated the `.zshrc` file with,
`export JAVA_HOME=$HOME/.sdkman/candidates/java/17.0.14-jbr/`
_For posterity.._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]