Error:OnClickListener cannot be resolved to a type
Solution:导入相关的Java包:import android.view.View.OnClickListener;
eclipse中自动导入所有相关的Java包的快捷键是:Ctrl+Shift+O;
Error:OnClickListener cannot be resolved to a type
Solution:导入相关的Java包:import android.view.View.OnClickListener;
eclipse中自动导入所有相关的Java包的快捷键是:Ctrl+Shift+O;