java - Unable to import package -


hi working on android project requires file searching.
theres 1 problem has arised -> cannot import package java.nio.file.*;
whatsoever when have installed jdk 7. using eclipse android.
plz help
earlier have changed window>preferences>java>compile>1.7
project compiles.
when changed project>properties>java compiler>1.7
gives me following error
"android requires compiler compliance level 5.0 or 6.0. found '1.7' instead. please use
android tools > fix project properties."

the current android specifications require project compiled under java 5 or java 6. jason c has said, java 7 not supported.

unfortunately there isn't way bypass restriction (if intend publish application) stuck rewriting java 7 code (empty <> operation, try-with-resources, etc) java 6.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -