When I tried to create new application in Android Studio I am got a problem in my layout page, design part getting the following error.
Rendering Problems Android Nougat requires the IDE to be running with Java 1.8 or later
API24 selected automatically when opened it. And its working fine, when I select API23 manually.
The problem is I have already installed JDK 1.8 in my system and when open Project Structure it's shows correct directory of my JDK 1.8 path as shown below,
I am using Ubuntu 16.04 to run Android Studio, and when I check Java version am getting version as 1.8,
arul@arul-pc:~$ java -version java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
How to solve this ?