cask 'android-studio-preview' do version '3.1.0.0,171.4415322' sha256 'a1945308fd7b01ab3360a6d1b7570cf1e48cb5788f09783b9851d1d54246558d' # google.com/dl/android/studio was verified as official when first introduced to the cask url "https://dl.google.com/dl/android/studio/ide-zips/#{version.before_comma}/android-studio-ide-#{version.after_comma}-mac.zip" name 'Android Studio Preview' homepage 'https://developer.android.com/studio/preview/' app "Android Studio #{version.major_minor} Preview.app" zap delete: [ "~/Library/Application Support/AndroidStudioPreview#{version.major_minor}", "~/Library/Caches/AndroidStudioPreview#{version.major_minor}", "~/Library/Logs/AndroidStudioPreview#{version.major_minor}", "~/Library/Preferences/AndroidStudioPreview#{version.major_minor}", '~/Library/Preferences/com.google.android.studio.plist', ], rmdir: '~/AndroidStudioProjects' caveats do depends_on_java end end