After opening the project in Windows Android Studio, no windows and menus are displayed--Notes on the problem

When I just got to work today, my colleague said that when Android Studio opened, no interface was displayed, and there were no menu options, as shown below: No buttons can be Insert image description here
used, and the .gradle and .android related directories in the user directory were also deleted. The Android-related directories under AppData/Local/Google in the user directory, even reinstalling and uninstalling the same version (Android Studio 4.1.0 and 4.1.1 belong to the same version according to the configuration) do not work. I have been struggling for almost a day. Just need to reinstall the system.

Finally, I found an article about starting Android Studio again without project window display , which mentioned another directory.

The directory is {your win username}\AppData\Roaming\Google\AndroidStudio4.1\workspace

It turns out that Roaming under the user's AppData also has files related to Android Studio. Finally, I directly deleted the directory related to the Android Studio under the AppData\Roaming\Google directory, and Android Studio can finally display normally.

Android Studio related directories:
C:\Users\username\AppData\Local\Google
C:\Users\username\AppData\Roaming\Google

おすすめ

転載: blog.csdn.net/fengyulinde/article/details/127371521