Installed JDK as instructed in the User Guide.
javac -version command in terminal returns javac 1.8.0_102 Still I'm getting this error: A problem occurred configuring project ':app'. > Buildtools 24.0.1 requires Java 1.8 or above. Current JDK version is 1.6. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/9c875880-bef9-4566-ba6a-39a7d9216006%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

