[2012-07-17 09:31:36 -模拟器]可能没有加载glGetShaderSource func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glGetUniformfv func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glGetUniformiv func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glGetUniformLocation func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glShaderSource func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glStencilMaskSeparate func中
[2012-07-17 09:31:36 -模拟器]可能没有加载glBlendEquationSeparate func中
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView tv = new TextView(this);
tv.setText("Hello World!");
setContentView(tv);
}
求解!!!
------解决方案--------------------
setContentView(R.layout.activity_main);
TextView tv = new TextView(this);
tv.setText("Hello World!");
setContentView(tv);
你setContentView() 两次是什么个意思?
------解决方案--------------------
setContentView(R.layout.activity_main);
TextView tv = new TextView(this);
tv.setText("Hello World!");
setContentView(tv);
1 两个setContentView
2 要addview,不是setContentVIew