mac如何完全卸载JDK 9
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-9.jdk
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Java
Mac完整卸载Android Studio的方法
1、卸载Android Studio,在终端(terminal)执行以下命令:
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*2、删除Projects
rm -Rf ~/AndroidStudioProjects
3、删除gradle
rm -Rf ~/.gradle
4、卸载Android Virtual Devices(AVDs) and *.keystore.
注意:如果有其他IDE需要用到,请不要删除
rm -Rf ~/.android5、删除Android SDK Tools
注意:如果有其他IDE需要用到,请不要删除
rm -Rf ~/Library/Android*
网友评论