Unable to resolve R.layout.main error. what is the reason for this error?
Description
Resource Path Location Type activity_yamba cannot be resolved or is not a field Yamba.java /Yamba_Project/src/com/abhishek/yamba_project line 33 Java Problem
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.
You sure
R.layout.mainis there in your project? OR in import statement You importimport com.example.myapp.R;?if
android.R.*is there then remove it and replace it with your R.java import statement.Also refer This.