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

来源:互联网 发布:2015软件外包排行 编辑:程序博客网 时间:2024/05/20 06:07

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内调用函数,并“;”结束。




0 0
原创粉丝点击