Passa ai contenuti principali

Post

Visualizzazione dei post da 2020

Install android sdk on osx, without installing android studio

Install android sdk on osx, without installing android studio. (useful for cordova, flutter, tabris, etc) Install brew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Install SDK and tools: brew cask install homebrew/cask-versions/adoptopenjdk8 brew cask install android-sdk brew cask install android-platform-tools brew install gradle brew install scrcpy then add: export ANDROID_SDK_ROOT=”/usr/local/share/android-sdk” to: ~/.profile then exec: source ~/.profile mkdir ~/.android touch ~/.android/repositories.cfg sdkmanager "platform-tools" "platforms;android-28" "build-tools;28.0.3" finished. :-)