There is no default constructor available in ‘org.domain.ClassName’

Java 101. Why am I getting There is no default constructor available in Class? Because we need to duplicate our constructor signatures, by calling the superclass constructor with the same arguments required. For example:


public MyClass (String x, Int y) {
    super (x, y);
}

Using IntelliJ or Android Studio, which is where I am learning all these things, what you can do to fix this is to use a simple shortcut: ctrl+o (at least on Mac) and then insert the contructor.