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

 

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

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

posted @ 2017-05-24 23:40  Luosd  阅读(3898)  评论(0编辑  收藏  举报