TextView myTextView=(TextView)findViewById(R.id.myTextView);报错
TextView myTextView=(TextView)findViewById(R.id.myTextView);
报错:TextView cannot be resolved to a type
这是由于什么造成的呀?
[解决办法]
没加import android.widget.TextView;
发布时间: 2012-04-25 19:32:32 作者: rapoo
TextView myTextView=(TextView)findViewById(R.id.myTextView);报错
TextView myTextView=(TextView)findViewById(R.id.myTextView);
报错:TextView cannot be resolved to a type
这是由于什么造成的呀?
[解决办法]
没加import android.widget.TextView;