0

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.

Community
  • 1
  • 1
John Zhang
  • 1
  • 1
  • 2

1 Answers1

8

I had the same problem. I fixed it this way.

Change your version of android to render to just API 23: Android API 23

enter image description here

Hayrullah Cansu
  • 262
  • 5
  • 14
  • Thank you for your answer, but I still confused that what the N preview is, what it's used for, why put it here. – John Zhang Jun 07 '16 at 03:21
  • 1
    If im not mistaken "N" is the next major version of Android. aka v7.0: https://developer.android.com/preview/index.html – user2408952 Jun 08 '16 at 11:37