错误提示”void is an invalid type for the variable“

今晚做android作业,出现错误提示:void is an invalid type for the variable,

invalid:无效的  variable:变量,在网上找了一下后知道是 方法 没有弄好,仔细检查了代码,是漏了一个右花括号“}”,加上后,就正常了。

原文地址:https://www.cnblogs.com/learnerluosd/p/6901588.html