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
Post a Comment