"Button cannot be resolved to a type" 解决办法
引入包 import android.widget.Button;即可
如果使用Eclipse的话,可以使用快捷键【Ctrl+Shift+o】 ,自动添加相应的import。
转载于:https://blog.51cto.com/dreamylights/1354234
"Button cannot be resolved to a type" 解决办法
引入包 import android.widget.Button;即可
如果使用Eclipse的话,可以使用快捷键【Ctrl+Shift+o】 ,自动添加相应的import。
转载于:https://blog.51cto.com/dreamylights/1354234