GlobaLevel
asked on
android - issues with R.java file ...resource not found...cannot be resolved to a varaible
Whenever I create a project, I am having issues with r.java file...in my .java file whenever I reference a textview via r.id.textview1...I get these errors cannot be resolved to a variable...
package COG__R_JAVA__12_11_2011;
import android.app.Activity;
import android.os.Bundle;
public class COG__R_JAVA__12_11_2011Act ivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstan ceState);
setContentView(R.layout.ma in);
}
}
r.layout.main >>>>cannot convert to a varailbe.....
package COG__R_JAVA__12_11_2011;
import android.app.Activity;
import android.os.Bundle;
public class COG__R_JAVA__12_11_2011Act
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstan
setContentView(R.layout.ma
}
}
r.layout.main >>>>cannot convert to a varailbe.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER