Call requires API level 11 (current min is 1)

That's interesting. I also faced the same issue and wasted more than an hour on it.

Finally, The reason I found was, I opened two different projects in two different windows of Android Studio. And both projects gradle configuration were different. When I closed another project window and restarted my android studio, Error has gone, and it was working perfectly. :)

Seems like it's an Android Studio bug, and sometimes the dissimilarities between two projects configuration in two different windows at the same time generate this error.


I am facing the same issue. I clean and build the project multiple times, but getting this issue again and again. I clean and build the project and then restarted the eclipse. It is working fine for me now.

Tags:

Android