Skip to content Skip to sidebar Skip to footer

Variabledeclaratorid And Misplace

I'm new to JAva and Android, and I'm working on my first test app. I have this code (This is the whole code): package test.test; import android.os.Bundle; import android.app.Activ

Solution 1:

This line of procedural code:

   textView_seeds_current_display.setText(S_num_seeds);

appears in your class definition. It needs to appear within a method. It might need to be in a constructor.

Solution 2:

The code seams to be fine ...

Some times I have the eclipse showing similar error when the line is OK. Try the following: position cursor on the line, press ctrl d (removes the line) and then press ctrl z (restores the line removed). If it's a "fake" error, it will disapper.

good luck

Post a Comment for "Variabledeclaratorid And Misplace"