Since you haven’t provided us with full code I cannot determine the correct answer but here are couple of possibilities.
-
Set your command to the following textview.setText(“sometext”)
You have to use “” when you are going to declare strings. -
Dolars is not a textview
-
Is TextODolars a variable? If so, what kind? Maybe you have to use .toString to convert it
But please get into a habit of posting code for a clear answer
1
solved can not resolve method ‘setText(java.lang.String)’