请帮助我。 我在解决这个错误超过3天时遇到了问题Android 5.0不支持较低版本
我没有得到正确的解决方案。 我已经更新了我的eclipse以运行android 5.0。
我已经创建了一个简单的Android应用程序,使用最低版本16和目标版本21来运行Android 5.0素材主题。 添加了主题styles.xml像这样
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
</style>
</resources>
我跟着链接添加支持库appcompatv7。 http://developer.android.com/tools/support-library/features.html#v7
但是我得到错误,指出每当我这个程序兼容性添加到我的项目R可以不被解析为变量 。 请给我一个建议,也请分享您的Android 5.0在较低版本的项目中运行。