This is not a mistake, this is a Lint warning. Thus, you can run the application, but the recommended way to display texts (in TextViews, Buttons, etc.) is to use string links. You have to go to your res folder and there will be a strings.xml file under the values. Add here:
<string name="my_string">Your Text!</string>
And to set the text on the button you have to do this:
android:text="@string/my_string"
source share