简体   繁体   English

Android Studio无法正确设置新项目

[英]Android Studio not setting up new project properly

When I open Android Studio I get the following errors: 当我打开Android Studio时,出现以下错误:

在此处输入图片说明

On Clicking File > New > Project the following screen comes up: 在单击文件>新建>项目时,将出现以下屏幕:

在此处输入图片说明

This, as opposed to this: 与此相反:

在此处输入图片说明

Anyone know why this is the case: 任何人都知道为什么会这样:

I tried reinstalling Android Studio, no luck. 我尝试重新安装Android Studio,但不走运。

Then I tried reinstalling Android Studio, SDK and HAXM, pretty much everything I could uninstall, I tried opening new project from welcome screen... still no luck. 然后,我尝试重新安装Android Studio,SDK和HAXM,几乎可以卸载的所有内容,我尝试从欢迎屏幕中打开新项目...依旧没有运气。

Any ideas? 有任何想法吗? Thanks. 谢谢。

单击第一张图片中的“启用Android支持”。

Go to File>Invalidate caches/restart>Invalidate and restart. 转到“文件”>“使高速缓存无效/重新启动”>“无效并重新启动”。

If your problem is not resolved, try clicking on "Enable Android support". 如果您的问题仍未解决,请尝试单击“启用Android支持”。

If your problem is not resolved, try going to Android SDK Manager and install: 如果您的问题仍未解决,请尝试转到Android SDK Manager并安装:

  • Extras/Google Repository 其他/ Google存储库
  • Extras/Android Support Repository 附加功能/ Android支持存储库

Restart Android Studio when install finish. 安装完成后重新启动Android Studio。

If your problem persists and you are not going to use these plugins, click on "Disable not loaded plugins". 如果问题仍然存在,并且您不打算使用这些插件,请单击“禁用未加载的插件”。

I hope this will help you. 我希望这能帮到您。

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

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