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?