【问题标题】:R cannot be resolved, error installing Android PluginR无法解决,安装Android插件时出错
【发布时间】:2012-09-11 08:03:18
【问题描述】:

我刚刚创建了一个android项目,在使用向导创建它之后Eclipse说R无法解决,尝试重新安装eclipse和android几次,但是在尝试安装android时它开始给我一个错误插入。 错误提示“'联系软件站点'遇到问题。不允许使用 HTTP 方法:http://developer.android.com/sdk/index.html/content.xml” 在错误详情中显示“HTTP Method Not Allowed: http://developer.android.com/sdk/index.html/content.xml Http Client connection error response code 405”

我该如何解决这个问题!?这真的很令人沮丧和烦人,我知道如果我清理项目并重建错误应该得到修复,但这并没有发生。

【问题讨论】:

标签: android eclipse adt


【解决方案1】:

如果使用 Eclipse,请运行干净的构建 (Project/Clean...);这通常可以解决资源编译不正确的问题。

参考这个链接这将解决这个问题R cannot be resolved - Android error

How To Fix The “R cannot be resolved” Error In Android And Eclipse

【讨论】:

  • 正如我在根本不起作用的问题上所说的那样,我认为我的 SDK 可能已损坏,但尝试再次安装它并收到错误消息“HTTP Method not allowed”
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-04-29
  • 2010-10-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-10-16
相关资源
最近更新 更多