找到
frameworksruntime-srcproj.androidsrcorgcocos2dxluaAppActivity.java 文件
package org.cocos2dx.lua; import org.cocos2dx.lib.Cocos2dxActivity; import org.cocos2dx.lib.Cocos2dxGLSurfaceView;//修正白屏 public class AppActivity extends Cocos2dxActivity { //修正白屏 public Cocos2dxGLSurfaceView onCreateView() { Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); // TestCpp should create stencil buffer glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8); return glSurfaceView; } }