Android的工作室更新导致了错误错误、工作室、Android

2023-09-07 14:52:25 作者:14.你将相思赋予谁

我刚刚更新了我的机器人工作室,以目前的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