I know the question that I ask is duplicated. This issue occured after I update Android Studio to Version 2.1.1 and I startup it with JDK1.8. Just the same as this one
this is the screenshot of this issue
But I don't think the answers solve this issue perfectly, because I really want to use Android N as my preview instead of using a old one.
I have updated my SDK platform and SDK Build Tools to the newest. Also I created a project whose minSdkVersion and targetSdkVersion are set 'N', can't solve this issue still.
Does anyone know how to solve this? Thanks.