After installing Android Studio, I started getting this error:
Error: Could not determine Java version. upon gradle sync. I do have Java JDK7 installed, OpenJDK, and OpenJSE installed. How can I fix this?
Read this for how to installing JDK on your elementary OS (also it works for java 7).
Then If your problem still appears then go to
Configure -> Project defaults -> Project structure -> SDK Location in welcome screen and add your JDK path. (Usually on