What can I do with it? I made a full new project, but the error is here: R cannot be resolved.
The error is in the setContentView(R.layout.main); row.
What can I do with it? I made a full new project, but the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First :
your error means that the file
R.javais not generated , so you should clean the project ( Project => Clean => check your project and click OK) ,Second : may be your file R.java is already generated, in this case , check your imports , if you find :
import android.R; change it with your own class R , for example :import com.yourpackage.R;Hope it helps