I want to use IntelliJ IDEA 15 instead of Android Studio, but I have a problem with building. I get the following error:
Gradle sync failed: The newly create
I solved this problem by renaming jre and jre64 folders to prevent idea from using them and setting JAVA_HOME to my other JDK 1.8 installation in the idea.bat file.