are you using Android Studio or ADT and which version?
I've done test in the past with Android Studio v1.4.x and API level 23 and it worked for me. You can find another writeup here:
Your second question is not clear to me. What do you mean? What are you trying to achieve?
Thank you Pietro this will help me i was using android studio 1.3 now i am using android studio 2.0