Not clickable TwitterLoginButton

android

#1

My code

TwitterAuthConfig authConfig = new TwitterAuthConfig(getResources().getString(R.string.twitter_key), getResources().getString(R.string.twitter_secret));
Fabric.with(this, new Twitter(authConfig));

    loginButton = (TwitterLoginButton) findViewById(R.id.twitter_login_button);

    loginButton.setCallback(new Callback<TwitterSession>() {

        @Override
        public void success(Result<TwitterSession> result) {

            twitterSession = Twitter.getSessionManager().getActiveSession();
            twitterAuthToken = twitterSession.getAuthToken();
            secret = twitterAuthToken.secret;
            token = twitterAuthToken.token;
             startActivity(new Intent(getApplicationContext(), MainActivity.class));


        }

        @Override
        public void failure(TwitterException e) {
            Toast.makeText(getApplicationContext(), "Error ---" + e.toString(), Toast.LENGTH_SHORT).show();
        }
    });

#2

Can you please share any errors or information from logcat when you try to click the button? There are working code samples [here for Login with Twitter.] (https://fabric.io/kits/android/twitterkit/features)