Example: link
android:track="@drawable/switch_bg"
Eclipse outputs:
error: No resource identifier found for attribute 'track' in package 'android'
Manifest:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
This file switch_bg
was created.
What's the problem?
android:track
and the corresponding setTrackResource(int)
method are only available since API 16, you should set android:minSdkVersion="16"
UPD Actually what matters is the build target. Select at least API 16 build target in Project -> Properties -> Android