Mac完整的卸载Android studio

2017-10-31  本文已影响0人  肚皮怪_Sun

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.

  rm -Rf ~/.android  

5、删除Android SDK Tools

  rm -Rf ~/Library/Android*  

6、打包命令

./gradlew assembleRelease 

7、如果遇到./gradlew: Permission denied

 chmod +x gradlew
上一篇 下一篇

猜你喜欢

热点阅读