Closed Isabellle closed 8 years ago
Hi. That is mark of AndroidStudio not seeing enviromental variables JAVA7_HOME
and/or JAVA8_HOME
.
You also probably got warning in log about that(They are needed for Retrolambda).
Please ensure that they are set before AndroidStudio is launched. Alternatively you can hardcode those paths in
gradle/byoutline/retrolambdaConfig.gradle
had the same issue. Adding JAVA7_HOME as an environment variable fixed it for me. This tutorial helped: https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html
Thanks a lot!
I hava same issue ,but i can't resolve it pls tell me how to solve it in environment variable i have JAVA8_HOME as C:\Program Files\Java\jdk1.8.0_45
@e4basil Do you have also JAVA7_HOME set? Also if you are on Windows try restarting computer after setting this variable.
Gradle 'kickmaterial-master' project refresh failed Error:Ambiguous method overloading for method java.io.File#.
Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
[class java.lang.String, class java.lang.String]
[class java.io.File, class java.lang.String]