简体   繁体   English

Android工作室打不开

[英]Android studio does not open

2021-04-11 Installed the newest version of android studio. 2021-04-11 安装最新版android studio。 When trying to start it splash screen apears loads up and then empty screen appears and after ten seconds it closes.当试图启动它时,启动画面会加载,然后出现空屏幕,十秒钟后它会关闭。 Android studio icon disappears from the taskbar. Android 工作室图标从任务栏中消失。 I can see that android is started in task manager.我可以看到android在任务管理器中启动了。 PS Closing it and trying to run it again or running it as Administrator does not work. PS 关闭它并尝试再次运行它或以管理员身份运行它不起作用。 十秒后关闭的空 android studio 窗口

任务管理器

I ran into the same problem upon upgrading my android studio.我在升级 android 工作室时遇到了同样的问题。 Something seems to be wrong with the process of importing settings and configurations from the old version.从旧版本导入设置和配置的过程似乎有问题。

Let's move the old configuration files to another backup location to see if it works.让我们将旧的配置文件移动到另一个备份位置,看看它是否有效。 (we will not delete it, because who knows, maybe this is not the solution:) ). (我们不会删除它,因为谁知道呢,也许这不是解决方案:))。 check these locations based on your android studio version:根据您的 android 工作室版本检查这些位置:

for v 4.0 and upper:对于 v 4.0 及更高版本:

C:\Users\<your user name>\AppData\Roaming\Google\AndroidStudio 4.x

for lower than 4.0:对于低于 4.0:

C:\Users\<yourUserName>\.AndroidStudio

Just move the folder to another location and start the Android studio again.只需将文件夹移动到另一个位置并再次启动 Android 工作室。

If everything is as expected, a dialog should pop up asking for importing settings and configuration:如果一切正常,应该会弹出一个对话框,询问导入设置和配置: android studio 上的配置导入对话框

Select ' do not import ', and you are good to go. Select '不要导入',你对 go 很好。

Try restarting your pc first.尝试先重新启动您的电脑。 then run it as administrator.然后以管理员身份运行它。 it worked for me.它对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM