Error inheriting constructors.

public EqAudioVisualizer() { eqVisualizer = new Visualizer(0); eqVisualizer.setEnabled(false); setupVisualizer(eqVisualizer); setter(); } 

The compiler says "there is no default constuctor avalible in bla bla

Created a child class, while it does not work in it to override the constructor.

    1 answer 1

    and bla bla - is it by any chance an ancestor of your class? Error means that the ancestor of your class has no constructor without parameters. Therefore, you should explicitly call one of the ancestor's designers in your constructor.

    • Thank! Already figured out, but the problem was exactly that. - Alexbelk