Wednesday, 7 August 2013

Unable to import package

Unable to import package

Hi I am working on an android project that requires File searching.
Now theres one problem that has arised -> I cannot import the package
java.nio.file.*;
whatsoever even when I have installed jdk 7. Am using eclipse for android.
Plz help
Earlier I have changed Window>preferences>java>compile>1.7
The project compiles.
But when I changed Project>properties>java compiler>1.7
Then it gives me the following error
"Android requires compiler compliance level 5.0 or 6.0. Found '1.7'
instead. Please use
Android Tools > Fix Project Properties."

No comments:

Post a Comment