Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Error:(232) Error: This class should be public (cc.openframeworks.OFGLSurfaceView) [Instantiatable]

$
0
0

@DevonDucharme wrote:

I am attempting to compile a release version of my Android app and come across this error:

 Error:(232) Error: This class should be public (cc.openframeworks.OFGLSurfaceView) [Instantiatable]

Which points to this constructor:

 public OFGLSurfaceView(Context context,AttributeSet attributes) {
    super(context,attributes);
    mRenderer = new OFAndroidWindow(getWidth(),getHeight());
    if(OFEGLConfigChooser.getGLESVersion()==2){
    	setEGLContextClientVersion(2);
    }
    getHolder().setFormat( PixelFormat.OPAQUE );
    OFEGLConfigChooser configChooser = new OFEGLConfigChooser(8,8,8,0,16,0);
    setEGLConfigChooser(configChooser);
    setRenderer(mRenderer);
}

Any ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles