0
既然我已经更新了我的机器人工作室1.5版本,建设项目引发我一个错误,而我添加新的片段给它Android Studio中:无法建立扔错误版本1.5
@Override
public void onAttach(Activity context) {
super.onAttach(context);
if (context instanceof OnFragmentInteractionListener) {
mListener = (OnFragmentInteractionListener) context;
} else {
throw new RuntimeException(context.toString()
+ " must implement OnFragmentInteractionListener");
}
}
错误扔在第二行代码即..的super.onAttach(context)
日志被示为@overrride method does not override or implement method of a supertype
应该有你的appcompat jar文件的问题...我认为 – sud
我还没有导入任何文件! – Ravi
这是一个空的项目,只有它的片段 – Ravi