cannot be resolved to a variable cannot be resolved to a variable 不能解析为变量 1.可能写在了do循环中,成为了局部变量,应该写在外面