Mac 如何安装 android-sdk做app测试

朱浩大
2023-12-01

 

android-sdk

DemondeMBP:tools demon$ brew search android-sdk
==> Casks
android-sdk

If you meant "android-sdk" specifically:
It was migrated from homebrew/core to homebrew/cask.
You can access it again by running:
  brew tap homebrew/cask
And then you can install it by running:
  brew cask install android-sdk
DemondeMBP:tools demon$ brew cask install android-sdk
Updating Homebrew...
^C==> Caveats
You can control android sdk packages via the sdkmanager command.
You may want to add to your profile:

  'export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"'

android-sdk requires Java 8. You can install it with:
  brew cask install homebrew/cask-versions/adoptopenjdk8

==> Satisfying dependencies

==> Downloading https://dl.google.com/android/repository/sdk-tools-darwin-433379
#######################################                                   55.2%

adb

DemondeMBP:tools demon$   brew cask install android-platform-tools
Updating Homebrew...
^C==> Satisfying dependencies

==> Downloading https://dl.google.com/android/repository/platform-tools_r29.0.4-
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'android-platform-tools'.
==> Installing Cask android-platform-tools
==> Linking Binary 'adb' to '/usr/local/bin/adb'.
==> Linking Binary 'dmtracedump' to '/usr/local/bin/dmtracedump'.
==> Linking Binary 'etc1tool' to '/usr/local/bin/etc1tool'.
==> Linking Binary 'fastboot' to '/usr/local/bin/fastboot'.
==> Linking Binary 'hprof-conv' to '/usr/local/bin/hprof-conv'.
==> Linking Binary 'mke2fs' to '/usr/local/bin/mke2fs'.
  android-platform-tools was successfully installed!

个人博客: http://weikeu.com

 类似资料: