androidstudio设置java版本1.7(androidstudio set java version 1.7)
我试图用android studio使用java版本1.7,但不幸的是它不能正常工作......如果在File->Other settings -> Default project structure版本为
Project SDK:
java version 1.7.0_06
Project language level:
7.0 Diamonds, ARM, multi-catch
但是当我用一个字符串使用switch-statement时,我得到一个在java 1.7中应该可能出现的错误,那么我需要设置其他设置吗?
I'm trying to use java version 1.7 with android studio but unfortunately it is not working properly... If set the 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 I use a switch-statement with a string I get an error which should be possible in java 1.7, so do I need to set any other settings?
原文:https://stackoverflow.com/questions/18443403
更新时间&#x