title: Can't open session in facebook in android
body: <p>I cant open a session in facebook's latest sdk in android. When I debug my code it shows session state:"OPENING" -> not "OPEN". I am stacked in this issue for couple days and there is no such kind of problem on internet, so please help me.
  Here is my example Main Class:</p>
  
  <pre><code>public class Miranda extends Activity {
      /**
       * Called when the activity is first created.
       */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          final TextView userNameView = (TextView) findViewById(R.id.userName);
          Session.openActiveSession(this, true, new Session.StatusCallback() {
  
              // callback when session changes state
              @Override
              public void call(Session session, SessionState state, Exception exception) {
                  if (session.isOpened()) {
  
                      // make request to the /me API
                      Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {
  
                          // callback after Graph API response with user object
                          @Override
                          public void onCompleted(GraphUser user, Response response) {
                              if (user != null) {
                                  userNameView.setText("Hello " + user.getName() + "!");
  
  //                                profilePictureView.setProfileId(user.getId());
                              }
                          }
                      });
                  }
              }
          });
      }
  }
  </code></pre>
  
  <p>And here is AndroidManifest.xml : </p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
            package="com.example.Miranda"
            android:versionCode="1"
            android:versionName="1.0"&gt;
      &lt;uses-sdk android:minSdkVersion="8"/&gt;
      &lt;application android:label="@string/app_name"&gt;
          &lt;activity android:name="Miranda"
                    android:label="@string/app_name"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN"/&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name="com.facebook.LoginActivity"
                    android:label="@string/title_facebook_login"&gt;
          &lt;/activity&gt;
          &lt;meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/app_id"/&gt;
      &lt;/application&gt;
      &lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
  &lt;/manifest&gt; 
  </code></pre>
  
  <p>and lastly strings.xml : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;string name="app_name"&gt;Miranda&lt;/string&gt;
      &lt;string name="app_id"&gt;241765162664333&lt;/string&gt;
      &lt;string name="title_facebook_login"&gt;Log Into Facebook&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>