package notes.service.com.servicenotes;

import android.os.Bundle;

import com.github.paolorotolo.gitty_reporter.GittyReporter;

public class Gitty extends GittyReporter {
    // Please DO NOT override onCreate. Use init instead.

    @Override
    public void init(Bundle savedInstanceState) {
        ServiceUtils.setSavedTheme(this);
        // Set where Gitty will send issues.
        // (username, repository name);
        setTargetRepository("Heromine", "Service-Notes");

        // Set Auth token to open issues if user doesn't have a GitHub account
        // For example, you can register a bot account on GitHub that will open bugs for you.
        setGuestOAuth2Token("d02a8201e42ed4cf883968f06f531811e4edc4d2");


        // OPTIONAL METHODS

        // Set if User can send bugs with his own GitHub account (default: true)
        // If false, Gitty will always use your Auth token
        enableUserGitHubLogin(true);

        // Set if Gitty can use your Auth token for users without a GitHub account (default: true)
        // If false, Gitty will redirect non registred users to github.com/join
        enableGuestGitHubLogin(true);

        // Include other relevant info in your bug report (like custom variables).
        setExtraInfo("Sent from Service Note");

        //setBackgroundColor1(getResources().getColor(R.color.colorPrimary));
        //setBackgroundColor2(getResources().getColor(R.color.colorPrimaryDark));
    }
}
package notes.service.com.servicenotes;

import android.os.Bundle;

import com.github.paolorotolo.gitty_reporter.GittyReporter;

public class Gitty extends GittyReporter {
    // Please DO NOT override onCreate. Use init instead.

    @Override
    public void init(Bundle savedInstanceState) {
        ServiceUtils.setSavedTheme(this);
        // Set where Gitty will send issues.
        // (username, repository name);
        setTargetRepository("Heromine", "Service-Notes");

        // Set Auth token to open issues if user doesn't have a GitHub account
        // For example, you can register a bot account on GitHub that will open bugs for you.
        setGuestOAuth2Token("6e9bd3b3ca89874db131c5e9b57378bb726d5e1e");


        // OPTIONAL METHODS

        // Set if User can send bugs with his own GitHub account (default: true)
        // If false, Gitty will always use your Auth token
        enableUserGitHubLogin(true);

        // Set if Gitty can use your Auth token for users without a GitHub account (default: true)
        // If false, Gitty will redirect non registred users to github.com/join
        enableGuestGitHubLogin(true);

        // Include other relevant info in your bug report (like custom variables).
        setExtraInfo("Sent from Service Note");

        //setBackgroundColor1(getResources().getColor(R.color.colorPrimary));
        //setBackgroundColor2(getResources().getColor(R.color.colorPrimaryDark));
    }
}

Update Gitty.java