I have an app which I am compiling against API level 21:
and then debug it on a real device with API level 23:
The problem is when I try debugging
Go to Project Settings > Artifacts. Select the artifact which has the problem. There is an option "Include in project build". This needs to be checked(enabled). For older versions of IntelliJ this option is "Make on build".