I recently started development with Android Studio 1.1.0 (bundle 135.1740770 for Windows) having JDK version "1.8.0_40" installed (64 Bit).
So far everything works fine, except I cannot import classes added with Java 8. I recognized it when trying to import java.util.Optional, but it's the same with e.g. java.util.stream.
May it be the case that my project somehow only uses a Java 7 subset of my JDK's standard library? And is it possible (recommended) to change that? I looked for a java version param in properties files, manifest and IDE settings. Didn't find anything like that.. anyone experienced something like that?
Btw. following the first comment in Is it possible to use Java 8 for Android development? it should be possible basically, but it seems to only cover Eclipse..