android - 在 Eclipse 中编译时出错

标签 android eclipse android-support-library

您好,我正在尝试使用 eclipse 进行 android 开发,但出现此错误

<mypath>Android\sdk1\extras\android\support\v7\appcompat\res\values-v21\themes_base.xml:144: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.

我已经安装了所需的东西,如图所示

Image

我还需要在设置中做些什么才能运行代码。请帮助我

最佳答案

确保您有 SDK 平台 21 并尝试使用本教程添加 appcompact。希望这会奏效。 :)

https://www.youtube.com/watch?v=CG_HxvV44zM

关于android - 在 Eclipse 中编译时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30486093/

相关文章:

android - 在 Android YoutubePlayer 中检查 youtube 视频是否存在

eclipse - 使用Groovy-Eclipse插件在Grails中进行开发

android - 从 Android.Support.V4.Fragment 获取 imageView 的高度/宽度(始终返回零)

java - 绘制位图最快的方法

java - Android部分字符串关键字匹配

android - 部署谷歌日历项目给出 INSTALL_FAILED_VERSION_DOWNGRADE

java - 通过 Eclipse 安装 Glassfish Tools (1.0.1) 时遇到问题 (2019-12)

android - 没有支持库的 BetterPickers

android - 当输入超过 TextInputLayout 的 counterMaxLength 时出现 RuntimeException

java - 可绘制的波纹效果颜色错误