As recommended here for Android L development, I used the property android:elevationin my application, but it shows the following error:
android:elevation
Resource ID not found to raise attribute in Android package
I am using eclipse and I downloaded the latest version just 2 days ago. I also set the target sdk address as API level 21minimum as API level 14. I also installed the latest updates in the sdk-build tools shown in the sdk manager.
API level 21
API level 14
Does anyone know a solution? Plz help me.
1) "" > " " > "" > " Android L" > "" > ""
2) android:minSdkVersion="L"
android:minSdkVersion="L"
, .
, Android Lollipop API level 21. () API level 22.
API level 22
, android:minSdkVersion android:targetSdkVersion "21".
android:minSdkVersion
android:targetSdkVersion
"21"
"", "", "Android" Android 5.0. , android:minSdkVersion. Android , , .
lint xml, tools:ignore="NewApi" . xmlns:tools="http://schemas.android.com/tools", .
tools:ignore="NewApi"
xmlns:tools="http://schemas.android.com/tools"
AppCompat v21 Material Design , , Eclipse.
android:elevationor View.setElevation()entered with Android API 21. So, if you installed android:minSdkVersion="14", this is not normal. android:minSdkVersion="14"is integral.
View.setElevation()
android:minSdkVersion="14"