Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does ADT support Java 7 API [closed]

Do Android Developers Tools support JAVA 7 API up to this date? I'm trying to build an Android app using JAVA 7 and I was wondering about this thing.

like image 583
user2186852 Avatar asked Apr 06 '13 07:04

user2186852


2 Answers

While you can write code in Java 7, the Android Systems that run it only support upto Java 6, so 7 features like switch-case on Strings fail.

As of Build tools 19, Java 7 is now supported.

like image 189
Raghav Sood Avatar answered Sep 23 '22 00:09

Raghav Sood


No, the android documentation is pretty clear about this. Only Java 6.

Also, be sure to download the Oracle JDK 6 (the Java Runtime is not sufficient).

like image 28
Stephan Branczyk Avatar answered Sep 21 '22 00:09

Stephan Branczyk