Android IDE (AIDE) Support Forum

Unexpected end of declaration error

How to resolve this error?

Try to remove the return ; in the final. It has no method

1 Like

You need to arrange the bracket correctly. Open and close bracket must be the same order. Also some old versions of AIDE, u must tab in the same depth to make it work and help AIDE detect bracket correctly.

1 Like