You do not need to declare abstract superclasses in the manifest
In the manifest, you need to include the activity classes that you are going to create, for example, using Intent.
If your abstract class exists only for a subclass of other actions (subclasses), you need to add these actions to the manifest.
If your class does not have subclasses, remove abstract from your class declaration:
public class MapsActivity extends FragmentActivity implements OnMapReadyCallback {
And also remove your abstract method:
protected abstract void startDemo();
source share