I'm new to programming, I'm specializing in Java for Android application development, at the moment I've been learning in Eclipse but, now with the new Android Studio tool, I have problems, when programming in the .Java file it gives me errors in certain instructions. I'm going to leave some photos and thank someone to clarify these doubts.