Difference between revisions of "General IT tribulations"

From Allan Gitobu
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
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
+
====Delete Mac Android Studio itself:====
rm -Rf ~/Library/Preferences/AndroidStudio*
+
rm -Rf /Applications/Android\ Studio.app </br>
rm -Rf ~/Library/Preferences/com.google.android.*
+
rm -Rf ~/Library/Preferences/AndroidStudio*</br>
rm -Rf ~/Library/Preferences/com.android.*
+
rm -Rf ~/Library/Preferences/com.google.android.*</br>
rm -Rf ~/Library/Application\ Support/AndroidStudio*
+
rm -Rf ~/Library/Preferences/com.android.*</br>
rm -Rf ~/Library/Logs/AndroidStudio*
+
rm -Rf ~/Library/Application\ Support/AndroidStudio*</br>
rm -Rf ~/Library/Caches/AndroidStudio*
+
rm -Rf ~/Library/Logs/AndroidStudio*</br>
rm -Rf ~/.AndroidStudio*
+
rm -Rf ~/Library/Caches/AndroidStudio*</br>
 +
rm -Rf ~/.AndroidStudio*</br>
 +
====Delete all Android Studio projects (optional):====
 +
rm -Rf ~/AndroidStudioProjects</br>
 +
====Delete Gradle files/cache:====
 +
rm -Rf ~/.android</br>
 +
====Delete SDK tools:====
 +
rm -Rf ~/Library/Android*</br>
 +
===Installing Android Studio===
 +
https://www.youtube.com/watch?v=ri90tcQL-Aw
  
rm -Rf ~/AndroidStudioProjects
+
===Android Tutorial===
rm -Rf ~/.android
+
https://developer.android.com/studio/run
rm -Rf ~/Library/Android*
+
 
 +
===The Emulator appear to launch but does not show up===
 +
https://stackoverflow.com/questions/42816127/waiting-for-target-device-to-come-online

Latest revision as of 23:35, 24 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

Delete Mac Android Studio itself:

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*

Delete all Android Studio projects (optional):

rm -Rf ~/AndroidStudioProjects

Delete Gradle files/cache:

rm -Rf ~/.android

Delete SDK tools:

rm -Rf ~/Library/Android*

Installing Android Studio

https://www.youtube.com/watch?v=ri90tcQL-Aw

Android Tutorial

https://developer.android.com/studio/run

The Emulator appear to launch but does not show up

https://stackoverflow.com/questions/42816127/waiting-for-target-device-to-come-online