Android的工作室更新导致了错误 [英] Android Studio updates have led to errors

查看:171
本文介绍了Android的工作室更新导致了错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了我的机器人工作室,以目前的0.3.1版本。因此,我开始变得我似乎无法理解的一些问题。首先,我得到这个消息有关的问题上发起的Andr​​oid Studio的插件。该消息是如下:

I just updated my Android Studio to the current 0.3.1 version. Consequently I've started getting a few issues that I can't seem to understand. First I get this message about problems with the plugin on launching Android Studio. The message is as follows:

Plugin Error
Problems found loading plugins: Plugin "Android Designer" was not loaded: 
required plugin "Android Support" is disabled. 
Plugin "Google Cloud Tools For Android Studio" was not loaded: 
required plugin "Android Support" is disabled.  
Disable not loaded plugins Enable Android Support Open plugin manager

最令人担心的 - 这基本上已经停止了我的进步的时刻 - 是IDE无法解析的R.xxx XML文件。如该行:

The most worrying - which has essentially halted my progress at the moment - is that the IDE can't resolve XML files in the R.xxx. Such as this line:

  setContentView(R.layout.activity_lists);

这表明我使用android.R这带来了由于不兼容进一步的错误。我不知道如何解决这个问题。在这种情况发生时另一个occassion,进一步更新自动解决这个问题。

It suggests I use android.R which brings up further errors due to incompatibility. I'm not sure how to fix this. On another occassion when this happened, further updates automatically resolved this issue.

推荐答案

在Android SDK中管理器中,选择以下项目,然后单击安装包:

In Android SDK Manager, select the following items and then click Install packages:

附加功能/谷歌信息库

附加功能/支持Android系统信息库

Extras/Android Support Repository

重新安装Android的工作室后

After install restart Android studio

这篇关于Android的工作室更新导致了错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆