SyntaxFix
Write A Post
Hire A Developer
Questions
You should use an Android emulator with the same api level as the compileSdkVersion. In your case you should use Android emulator with api level 21.