Can't Update To Java 8 In Android Studio
Solution 1:
Java 8 isn't available in any version of Android prior to N, which is currently just a preview - see the details of its support for Java 8 here (even N doesn't support every Java 8 feature): https://developer.android.com/preview/j8-jack.html
Keep in mind that Android is not just using the standard Java virtual machine. It uses its own virtual machine (Dalvik in 4.4 and earlier versions; Android Runtime - ART - is available as a preview in 4.4 and later became the default virtual machine) and has its own bytecode format: https://source.android.com/devices/tech/dalvik/dex-format.html
Solution 2:
"Android Studio requires JDK 7/JDK 6 so simply You can't use JDK 8 . "
But if you installed it, you can try to change compiler level to 8- http://i.stack.imgur.com/SCTyV.png
Post a Comment for "Can't Update To Java 8 In Android Studio"