How to completely uninstall Android Studio on Mac?

后端 未结 6 1459
天命终不由人
天命终不由人 2020-11-22 02:29

I recently downloaded Android Studio on my Macbook Pro and I messed up with it every time I open it. It gives me plugin errors and several other errors. I need to uninstall

6条回答
  •  不思量自难忘°
    2020-11-22 03:16

    For someone using Android Studio 4.0 or above on MacOS 10.15.1 or above. Using command line blow:

    # Deletes the Android Studio application
    # Note that this may be different depending on what you named the application as, or whether you downloaded the preview version
    rm -Rf /Applications/Android\ Studio.app
    # Delete All Android Studio related preferences
    # The asterisk here should target all folders/files beginning with the string before it
    rm -Rf ~/Library/Preferences/Google/AndroidStudio*
    # Deletes the Android Studio's plist file
    rm -Rf ~/Library/Preferences/com.google.android.*
    # Deletes the Android Emulator's plist file
    rm -Rf ~/Library/Preferences/com.android.*
    # Deletes mainly plugins (or at least according to what mine (Edric) contains)
    rm -Rf ~/Library/Application\ Support/Google/AndroidStudio*
    # Deletes all logs that Android Studio outputs
    rm -Rf ~/Library/Logs/Google/AndroidStudio*
    # Deletes Android Studio's caches
    rm -Rf ~/Library/Caches/Google/AndroidStudio*
    # Deletes older versions of Android Studio
    rm -Rf ~/.AndroidStudio*
    

    Difference

    Library/Preferences/Google/AndroidStudio*

    Library/Logs/Google/AndroidStudio*

    Library/Caches/Google/AndroidStudio*

提交回复
热议问题