title: ClassNotFoundException when doing Facebook login with Android Parse library
body: <p>I am getting an exception when trying to log in using Facebook with the Parse library.</p>
  
  <p>In my application's onCreate, I am calling:</p>
  
  <pre><code>ParseFacebookUtils.initialize(getApplicationContext());
  </code></pre>
  
  <p>I am calling facebook login as follows:</p>
  
  <pre><code>List&lt;String&gt; permissions = Arrays.asList("user_birthday", "user_location", "user_friends", "email", "public_profile");
  ParseFacebookUtils.logInWithReadPermissionsInBackground(this,permissions,new LogInCallback() {
      @Override
      public void done(ParseUser user, ParseException e) {
          ...
      }
  });
  </code></pre>
  
  <p>The stacktrace I am getting is:</p>
  
  <pre><code>08-12 14:42:04.219    2376-2386/? E/DatabaseUtils﹕ Writing exception to parcel
      java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
              at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13101)
              at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2038)
              at com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:607)
              at android.content.ContentProvider$Transport.call(ContentProvider.java:279)
              at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273)
              at android.os.Binder.execTransact(Binder.java:388)
              at dalvik.system.NativeStart.run(Native Method)
  08-12 14:42:04.234    2376-5614/? E/Parcel﹕ Class not found when unmarshalling: com.facebook.login.LoginClient$Request
      java.lang.ClassNotFoundException: com.facebook.login.LoginClient$Request
              at java.lang.Class.classForName(Native Method)
              at java.lang.Class.forName(Class.java:204)
              at java.lang.Class.forName(Class.java:169)
              at android.os.Parcel.readParcelableCreator(Parcel.java:2091)
              at android.os.Parcel.readParcelable(Parcel.java:2055)
              at android.os.Parcel.readValue(Parcel.java:1971)
              at android.os.Parcel.readMapInternal(Parcel.java:2255)
              at android.os.Bundle.unparcel(Bundle.java:223)
              at android.os.Bundle.getString(Bundle.java:1082)
              at android.content.Intent.getStringExtra(Intent.java:4961)
              at com.android.server.am.ActivityStack.startActivityLocked(ActivityStack.java:3761)
              at com.android.server.am.ActivityStack.startActivityMayWait(ActivityStack.java:4981)
              at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3163)
              at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3119)
              at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:157)
              at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2115)
              at android.os.Binder.execTransact(Binder.java:388)
              at dalvik.system.NativeStart.run(Native Method)
       Caused by: java.lang.NoClassDefFoundError: com/facebook/login/LoginClient$Request
              at java.lang.Class.classForName(Native Method)
              at java.lang.Class.forName(Class.java:204)
              at java.lang.Class.forName(Class.java:169)
              at android.os.Parcel.readParcelableCreator(Parcel.java:2091)
              at android.os.Parcel.readParcelable(Parcel.java:2055)
              at android.os.Parcel.readValue(Parcel.java:1971)
              at android.os.Parcel.readMapInternal(Parcel.java:2255)
              at android.os.Bundle.unparcel(Bundle.java:223)
              at android.os.Bundle.getString(Bundle.java:1082)
              at android.content.Intent.getStringExtra(Intent.java:4961)
              at com.android.server.am.ActivityStack.startActivityLocked(ActivityStack.java:3761)
              at com.android.server.am.ActivityStack.startActivityMayWait(ActivityStack.java:4981)
              at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3163)
              at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3119)
              at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:157)
              at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2115)
              at android.os.Binder.execTransact(Binder.java:388)
              at dalvik.system.NativeStart.run(Native Method)
       Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.login.LoginClient$Request" on path: .
              at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
              at java.lang.Class.classForName(Native Method)
              at java.lang.Class.forName(Class.java:204)
              at java.lang.Class.forName(Class.java:169)
              at android.os.Parcel.readParcelableCreator(Parcel.java:2091)
              at android.os.Parcel.readParcelable(Parcel.java:2055)
              at android.os.Parcel.readValue(Parcel.java:1971)
              at android.os.Parcel.readMapInternal(Parcel.java:2255)
              at android.os.Bundle.unparcel(Bundle.java:223)
              at android.os.Bundle.getString(Bundle.java:1082)
              at android.content.Intent.getStringExtra(Intent.java:4961)
              at com.android.server.am.ActivityStack.startActivityLocked(ActivityStack.java:3761)
              at com.android.server.am.ActivityStack.startActivityMayWait(ActivityStack.java:4981)
              at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3163)
              at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3119)
              at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:157)
              at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2115)
              at android.os.Binder.execTransact(Binder.java:388)
              at dalvik.system.NativeStart.run(Native Method)
  </code></pre>
  
  <p>I thought that this might be a problem with proguard, but even with proguard disabled I am having the same problem.</p>