Difference between revisions of "General IT tribulations"

From Allan Gitobu
Jump to navigation Jump to search
Line 16: Line 16:
 
===Uninstalling Android from a Mac===
 
===Uninstalling Android from a Mac===
 
https://howchoo.com/macos/how-to-completely-uninstall-android-studio-on-macos-and-os-x
 
https://howchoo.com/macos/how-to-completely-uninstall-android-studio-on-macos-and-os-x
 +
 +
rm -Rf /Applications/Android\ Studio.app
 +
rm -Rf ~/Library/Preferences/AndroidStudio*
 +
rm -Rf ~/Library/Preferences/com.google.android.*
 +
rm -Rf ~/Library/Preferences/com.android.*
 +
rm -Rf ~/Library/Application\ Support/AndroidStudio*
 +
rm -Rf ~/Library/Logs/AndroidStudio*
 +
rm -Rf ~/Library/Caches/AndroidStudio*
 +
rm -Rf ~/.AndroidStudio*
 +
 +
rm -Rf ~/AndroidStudioProjects
 +
rm -Rf ~/.android
 +
rm -Rf ~/Library/Android*

Revision as of 21:17, 8 March 2021

Installing Android studio on a Mac computer

After downloading and installing Android on a Mac I found that the program could not start. I found the solution on the page https://stackoverflow.com/questions/28315248/could-not-run-android-studio-on-my-mac-os-yosemite-error-the-following-sdk-com/28315443

The answer suggested that the user does these 2 steps

Go to the directory /Applications/Android Studio.app/Contents/MacOS

Run the command:

sudo ./studio


Find Java Installation in a Mac

$ /usr/libexec/java_home

Uninstalling Android from a Mac

https://howchoo.com/macos/how-to-completely-uninstall-android-studio-on-macos-and-os-x

rm -Rf /Applications/Android\ Studio.app rm -Rf ~/Library/Preferences/AndroidStudio* rm -Rf ~/Library/Preferences/com.google.android.* rm -Rf ~/Library/Preferences/com.android.* rm -Rf ~/Library/Application\ Support/AndroidStudio* rm -Rf ~/Library/Logs/AndroidStudio* rm -Rf ~/Library/Caches/AndroidStudio* rm -Rf ~/.AndroidStudio*

rm -Rf ~/AndroidStudioProjects rm -Rf ~/.android rm -Rf ~/Library/Android*