android - 我不知道我的 SDK 和 ADT 插件到底出了什么问题

标签 android eclipse sdk adt

我正准备在滑动选项卡上工作,并在创建一个新的 android 应用程序项目时,我在 Honeycomb (3.0) 中设置了最低要求的 SDK,在 Kitkat (4.4) 中设置了我的目标 SDK,并使用 Jellybean (4.3) 对其进行编译。现在,我遇到的第一个问题是无法创建新项目。我点击了完成按钮,但没有任何反应。

当我能够创建文件时,我还没有输入代码,但已经有几个错误提示“R 无法解析为变量”,我发现这是因为兼容性测量,所以我快速更新我的SDK。每一个可能的更新,我都更新了它。我还读到我也需要更新我的 ADT 插件,所以我做了 Murtuza Kabul 在这里所说的 How to update ADT 。我以管理员身份运行 Eclipse,这是我收到的错误消息

Error when loading the SDK

Error: Error parsing C:\adt-bundle-windows-x86-20140702\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml cvc-complex-type.2.4.d: Invalid content was found starting with element 'd:skin'. No child element is expected at this point. Error: Error parsing C:\adt-bundle-windows-x86-20140702\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml cvc-complex-type.2.4.d: Invalid content was found starting with element 'd:skin'. No child element is expected at this point.

有人可以给我一些指导吗?

最佳答案

用于 API 22android wear 包存在某种问题,所以我的解决方案是从 API 22 中删除这两个包

enter image description here

现在问题解决了 =)

Error: Error Parsing C:\Android\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml Invalid content was found starting with element 'd:Skin'. No child element is expected at this point.

关于android - 我不知道我的 SDK 和 ADT 插件到底出了什么问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30769836/

相关文章:

android - 如何动态地将 View 添加到 ViewGroup 并与其子项之一垂直对齐

java - 我必须如何配置 Eclipse 以仅显示自动完成提案中某个类型的直接成员?

Java接口(interface)继承导致IDE困惑

android - 如何独立于Eclipse开启logcat

iphone - 如果安装了3.0 SDK,仍然可以制作2.0兼容的应用程序吗?

android - 应用程序因配置更改而崩溃

javascript - 使用 Phonegap 在 Android 上收集联系人是否有组属性?

android - 阻止 Android 布局我所有的 View

java - Python 中有标准的通用 URI 处理程序吗?

android - 对于 Bokeh 和 HDR 供应商效果,使用 CameraX 始终获取 isExtensionAvailable 的 false 值