brew cask install android-sdk
Warning: A Cask for android-sdk is already installed.(何も削除しませんでした)
brew cask reinstall android-sdk
または
brew cask uninstall android-sdk
==> Caveats We will install android-sdk-tools, platform-tools, and build-tools for you. You can control android sdk packages via the sdkmanager command. You may want to add to your profile: 'export ANDROID_HOME=/usr/local/share/android-sdk'
This operation may take up to 10 minutes depending on your internet connection. Please, be patient.
==> Downloading https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip Already downloaded: /Users/ishandutta2007/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip ==> Verifying checksum for Cask android-sdk Error: No such file or directory - /usr/local/share/android-sdk Follow the instructions here: https://github.com/caskroom/homebrew-cask#reporting-bugs /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1439:in
unlink' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1439:in
block in remove_file' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1444:inplatform_support' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1438:in
remove_file' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:785:inremove_file' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:563:in
block in rm' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:562:ineach' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:562:in
rm' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:57:inblock (2 levels) in load' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb:35:in
instance_eval' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb:35:inblock in abstract_phase' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:232:in
each_key' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:232:ineach' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb:34:in
abstract_phase' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb:28:inuninstall_phase' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:330:in
block in uninstall_artifacts' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:327:ineach' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:327:in
uninstall_artifacts' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:312:inuninstall' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:27:in
block in install_casks' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:6:ineach' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:6:in
install_casks' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:10:inrun' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in
run_command' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:inprocess' /usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in
cask' /usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `'
はthisを試したが、運、と私は何も削除していませんこの質問に書かれているようなものです。
AndroidStudio経由でインストールしてANDROID_HOMEを設定して問題をソートしましたとPATH変数ここに記載されているようにhttp://stackoverflow.com/a/19986294/865220しかし、私は自家製を使用して働くことができなかったので、質問は開いたままにする必要があります – ishandutta2007
同じ問題はここに –