I am developing an Android app using eclipse. When I try to run my project I get the error which refers to the line
Call requires API level 13 (current min is 8): android.view.Display#getSizedisplay.getSize(size);.
So in the AndroidManifest.xml I made the following change:
<uses-sdk
android:minSdkVersion="13"
android:targetSdkVersion="17" />
However when I try running the project again, I still get the same error. The target SDK is Android 4.0. Does anyone know what is causing this error?
Try to clean your project. If it still shows error after cleaning then right click on project goto Properties>Android tab and select the
Android Build target Android 3.2. And after performing this Build your project. I think it should work after this.