I'm getting these errors in android studio when i run my app. Pls help

0 Jin Yin Ng · October 21, 2015
Error: (27, 31) error: ';' expected
Error: (92, 35) error: <identifier> expected
Error: (92, 36) error: ')' expected
Error: (92, 43) error: illegal start of expression
Error: (94, 36) error: not a statement

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

> Compilation failed; see the compiler error output for details.

Pls help n thx in advance

Post a Reply


Oldest  Newest  Rating
0 Jin Yin Ng · October 26, 2015
ok thx
0 Gary Whitney · October 22, 2015
If you are using Android Studio, the editor display a squiggly red line in your code when you make an error. It also displays a straight red line on the right that acts as a hyperlink to the error.

The errors are telling you what is wrong with your code.

Carefully compare your code to the example you are following and you will see why you have errors.

If you still don't understand then I assume you  don't know how to use Java and you definitely should before attempting to become an Android developer.
  • 1

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator