nicolas-raoul/Anki-Android — comment on commit 6b3ac5902cac04db48cfdcb71d2cfc7b5a1655e8
File:  line 0
By flerda:

Yes, you need android-target set to 11 or higher to compile it.
If you want to compile using an older SDK you might be able to do so by removing all the "-v11" or higher directories from the resources.

However, the application will work on older platforms even if you are targeting SDK 11, as long as you do not use any resources or APIs that are beyond the actual platform level. There are a few places in the code where we check the SDK level before accessing certain classes. This is how AnkiDroid currently works on Cupcake and Donut for instance.