I'm trying to setup an Android dev environment on Mac.
My starting point is Java 1.7 I believe. So I installed android studio and opened the project I'd like to build. And it says:
Error:Buildtools 24.0.1 requires Java 1.8 or above. Current JDK version is 1.7.
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)