0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【AndroidStudio】Android sdk is up to dateと表示されてAndroid sdkがインストールできない

Last updated at Posted at 2020-04-14

状況

AndroidStudioが開けなくなっていたため、再インストールしようとした際に発生。

android sdk削除後、Android Studioを再インストールするとsdkがないのに
すでに最新版がインストールされていると認識される

Android sdk is up to date.

###やっていたこと
android studioをアンインストールし、sdkも削除した。

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*
rm -Rf ~/.gradle
rm -Rf ~/.android
rm -Rf ~/Library/Android*

新規Android studioをインストールしたが、

android sdk is up to date.

と出てsdkのDLができなかった。
sdkが参照しているフォルダ(/Users/ユーザ名/Library/Android)は存在していなかった。

###結論

rm ~/Library/Preferences/com.android.Emulator.plist

でエミュレータの設定を削除したところ、sdkがインストールできました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?