androidstudio set java version 1.7 -


i'm trying use java version 1.7 android studio unfortunately not working properly... if set version in file->other settings -> default project structure to

  project sdk:   java version 1.7.0_06    project language level:   7.0 diamonds, arm, multi-catch 

but when use switch-statement string error should possible in java 1.7, need set other settings?

no... there no settings change. android sdk don't support full java 7 syntax, can't use it.

note java.nio.* (new in java 7 api) supported latest android version.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -