fail to compile user created project but HelloCpp built successfully

Hi

I have tried to compile my own cocos2d-x project created with create_android_project.sh in my MAC book but failed to build APK.

The error message is seen below

public void setEditBoxResult(String editResult)
{
Log.i(“editbox_content”, editResult);

try
{
final byte[] bytesUTF8 = editResult.getBytes(“UTF8”);
// pass utf8 string from editbox activity to native.
// Should invoke native method in GL thread.
mGLView.queueEvent(new Runnable() {
@Override
public void run() { <——————Error part with message “The method run() of type new Runnable(){} must override a superclass method”
nativeSetEditboxText(bytesUTF8);
}
});
}

But strange thing to me is that this Cocos2dxActivity.java file is same with what HelloCpp project include and HelloCpp project did not show the above compile error.

I think I should do some proper setting to my own project but don’t know what should be done.
Please guide me on this issue. I guess the script file to create android project should do all necessary jobs so that no post process after creation of project need.