diff --git a/samples/HelloCpp/proj.android/src/org/cocos2dx/hellocpp/HelloCpp.java b/samples/HelloCpp/proj.android/src/org/cocos2dx/hellocpp/HelloCpp.java index e5db3954b1..e283af1ad8 100644 --- a/samples/HelloCpp/proj.android/src/org/cocos2dx/hellocpp/HelloCpp.java +++ b/samples/HelloCpp/proj.android/src/org/cocos2dx/hellocpp/HelloCpp.java @@ -37,8 +37,7 @@ import android.widget.FrameLayout; import android.view.ViewGroup; public class HelloCpp extends Cocos2dxActivity{ - private Cocos2dxGLSurfaceView mGLView; - + protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); diff --git a/samples/HelloLua/proj.android/src/org/cocos2dx/hellolua/HelloLua.java b/samples/HelloLua/proj.android/src/org/cocos2dx/hellolua/HelloLua.java index 32bf75b751..6390034f79 100644 --- a/samples/HelloLua/proj.android/src/org/cocos2dx/hellolua/HelloLua.java +++ b/samples/HelloLua/proj.android/src/org/cocos2dx/hellolua/HelloLua.java @@ -101,8 +101,6 @@ public class HelloLua extends Cocos2dxActivity{ ConfigurationInfo info = am.getDeviceConfigurationInfo(); return (info.reqGlEsVersion >= 0x20000); } - - private LuaGLSurfaceView mGLView; static { diff --git a/samples/TestJavascript/proj.android/src/org/cocos2dx/testjavascript/TestJavascript.java b/samples/TestJavascript/proj.android/src/org/cocos2dx/testjavascript/TestJavascript.java index cac50ae4cb..fb6c750fa0 100644 --- a/samples/TestJavascript/proj.android/src/org/cocos2dx/testjavascript/TestJavascript.java +++ b/samples/TestJavascript/proj.android/src/org/cocos2dx/testjavascript/TestJavascript.java @@ -37,7 +37,6 @@ import android.view.ViewGroup; import android.widget.FrameLayout; public class TestJavascript extends Cocos2dxActivity{ - private Cocos2dxGLSurfaceView mGLView; protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState);