No resource found that matches the given name: attr'androID:elevation' <?xml version="1.0" enCoding="utf-8"?><resources> <!-- From: file:/Users/build/workspace/android-library/UrbanAirship/src/main/res/values-v21/styles.xml --> <eat-comment/> <style name="Widget.UrbanAirship.InAppMessage.Banner" parent="Base.Widget.UrbanAirship.InAppMessage.Banner"> <item name="androID:background">@drawable/ua_iam_background</item> <item name="androID:elevation">@dimen/ua_iam_banner_elevation</item> </style></resources>
这是我的gradle文件依赖项
compile 'com.androID.support:support-v4:22.0.0'compile 'com.androID.support:cardvIEw-v7:22.0.0'compile 'com.Google.androID.gms:play-services-gcm:7.0.0'compile 'com.Google.androID.gms:play-services-location:7.0.0'
我的targetSdkVersion是21,我还从SDK管理器更新了我的API
http://docs.urbanairship.com/platform/android.html供参考
请帮我.谢谢!
更新1:AndroID部分在gradle中
androID { compileSdkVersion 19 buildToolsversion "21.1.1" defaultConfig { applicationID "com.example" minSdkVersion 14 targetSdkVersion 21 multIDexEnabled true renderscriptTargetAPI 22 renderscriptSupportModeEnabled true } dexOptions { javaMaxHeapSize "4g" } packagingOptions { exclude 'meta-inf/DEPENDENCIES.txt' exclude 'meta-inf/liCENSE.txt' exclude 'meta-inf/NOTICE.txt' exclude 'meta-inf/NOTICE' exclude 'meta-inf/liCENSE' exclude 'meta-inf/DEPENDENCIES' exclude 'meta-inf/notice.txt' exclude 'meta-inf/license.txt' exclude 'meta-inf/dependencIEs.txt' exclude 'meta-inf/LGPL2.1' }}解决方法 尝试将compileSdkVersion设置为21 总结
以上是内存溢出为你收集整理的Android:Urban Airship 6.0.1:android:提升找不到与给定名称匹配的资源全部内容,希望文章能够帮你解决Android:Urban Airship 6.0.1:android:提升找不到与给定名称匹配的资源所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)