I installed the latest version of Java 8 on my Mac and the latest version of Android Studio. In Android Studio I can not find java.util.function. This makes me think that it does not use Java 8. I have a log time search, and the only Java I have on my Mac is Java 8. I also checked the project structure and pointed to Java 8. I reinstalled Android Studio , created a new project, and I still cannot import java.util.function. Does Android Studio really work with Java 8? Any suggestions on how to access java.util.function?
source
share