http://stackoverflow.com/questions/16728178/unable-to-compile-project-in-android-studio-gradle-invalid-symbol-switch 将id改为除switch以外的其他命名 转载于:https://www.cnblogs.com/pen-ink/p/3312174.html