There is compile error in HelloAndroidTest program in the Tutorials
“Hello Testing” program, because I got this compile error.
“com.example.helloandroid.R.id.textview can not be resolved.”
@Override
protected void setUp() throws Exception {
super.setUp();
mActivity = this.getActivity();
mView = (TextView)
mActivity.findViewById(com.example.helloandroid.R.id.textview);
resourceString =
mActivity.getString(com.example.helloandroid.R.string.hello);
}
My com.example.helloandroid.R doesn’t have R.id.textview, and
endroid.R.id class does not have endroid.R.id.textview field.
Where do I support to get this field, “com.example.helloandroid.R.id.textview”?
Thank for helping.
--
Kieu Hua
[email protected]
77 Strawberry Hill Road
Acton, MA 01720
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en