您的位置:首页 > 移动开发 > Android开发

Android error 之 Syntax error, insert ";" to complete Local Variable Declaration Statement

2015-09-15 21:49 525 查看


Syntax error, insert ";" to complete Local Variable Declaration Statement

Syntax error -- 句法错误
insert ";"  -- 插入分号
to complete Local Variable Declaration Statement  -- 使局部变量声明语句完善。
即局部变量声明结束处你漏了分号。

For example:

在onCreate中定义了find_and_modify_view函数及其函数体

出现Error:




在onCreate外定义函数及函数体,在onCreate内调用函数,并“;”结束。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: