When running my Android app I often get a list of errors, wich says
Class requires API level 3 (current min is 1): android.hardware.SensorEventListener
I've searched for the correct answer to this, like Android tools > Clear Link Markers, but this doesn't solve the problem. Every once in a while the list of errors keeps coming back. Is it something in my project settings or are my methods deprecated? I've installed the latest SDK for Android 4.4.
In your manifest
file set the sdk like this based on your requirement..
<uses-sdk
android:maxSdkVersion="17"
android:minSdkVersion="8" />
Restart and invalidate cache if this error just started up for no apparent reason
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With