title: My app is working fine on my real device but it is not working on the emulator and other devices
body: <p>My app is working fine on my real device but she is not working on the emulator and other devices except my device and I don't know why.</p>
  
  <p>As I write the app working only on my phone and everything is good but when I try to check the app on another phone or in the emulator it doesn't work.</p>
  
  <p>Here is my manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.matan_gesta.gestamain"&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  
  &lt;application
  
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;activity android:name=".GestaMainActivity"&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;service android:name=".GPS_Service"
          android:enabled="true"
          android:exported="true"/&gt;
  
      &lt;activity
          android:name=".Google_Gesta"
          android:label="@string/title_activity_google__gesta"
          android:theme="@style/AppTheme.NoActionBar" /&gt;
  
      &lt;meta-data
          android:name="com.facebook.sdk.ApplicationId"
          android:value="@string/facebook_app_id" /&gt;
  
      &lt;activity
          android:name="com.facebook.FacebookActivity"
          android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
          android:label="Gesta" /&gt;
      &lt;activity
          android:name="com.facebook.CustomTabActivity"
          android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
              &lt;data android:scheme="@string/fb_login_protocol_scheme" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity
          android:name=".Facebook_login"
          android:label="@string/title_activity_facebook_login"
          android:theme="@style/AppTheme.NoActionBar" /&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>the errors from the logcat:</p>
  
  <pre><code>01-19 14:02:10.777 5387-6114/? E/Gmail.LabelManager: Unable to get label ^sq_ig_i_personal for account account:21453719 01-19 14:02:10.777 5387-6114/? E/Gmail: Couldn't find label: ^sq_ig_i_personal 01-19 14:02:10.824 2003-2003/? E/BluetoothAdapter: Bluetooth binder is null 01-19 14:02:11.134 2485-6127/? E/AccountsChangedIntentOp: exception while subscribe: java.util.concurrent.TimeoutException: Waited 6000 milliseconds for awgr@2e3c018[status=PENDING] 01-19 14:02:11.420 2003-2003/? E/BluetoothAdapter: Bluetooth binder is null 01-19 14:02:11.428 1616-1628/? E/SyncManager: Job params not found for 109473 01-19 14:02:11.820 2003-2324/? E/ctxmgr: [NetworkUtil]No active synchronizable contexts. 01-19 14:02:12.557 2003-2324/? E/Auth: [GoogleAccountDataServiceImpl] getToken() -&gt; BAD_AUTHENTICATION. Account: , App: com.google.android.gms, Service: oauth2:https://www.googleapis.com/auth/contextcontroller fbl: Long live credential not available. at fbm.b(:com.google.android.gms@11951470:10) at fbm.a(:com.google.android.gms@11951470:50) at ezw.a(:com.google.android.gms@11951470:37) at gnu.a(:com.google.android.gms@11951470:7) at gnu.a(:com.google.android.gms@11951470:155) at gmu.a(:com.google.android.gms@11951470:2) at gms.a(:com.google.android.gms@11951470:17) at gms.a(:com.google.android.gms@11951470:6) at cob.a(:com.google.android.gms@11951470:25) at cob.a(:com.google.android.gms@11951470:80) at ewz.a(:com.google.android.gms@11951470:6) at ewy.a(:com.google.android.gms@11951470:2) at ewy.e(:com.google.android.gms@11951470:6) at ewy.d(:com.google.android.gms@11951470:1) at eww.b(:com.google.android.gms@11951470:1) at mqa.a(:com.google.android.gms@11951470:1) at mon.a(:com.google.android.gms@11951470:3) at dfo.a(:com.google.android.gms@11951470:54) at dax.run(:com.google.android.gms@11951470:2) at dav.handleMessage(:com.google.android.gms@11951470:3) at muq.run(:com.google.android.gms@11951470:6) at mvc.run(:com.google.android.gms@11951470:26) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at nak.run(:com.google.android.gms@11951470) at java.lang.Thread.run(Thread.java:761) 01-19 14:02:13.117 2485-2748/? E/ProcessCheckinRequest: CheckinNowTaskTag : Checkin Succeeded: https://android.clients.google.com/checkin (request #1): 01-19 14:02:13.531 2003-2324/? E/ctxmgr: [BaseServerTask]Server task (WriteInterestRecordTask) got error statusCode=-1. com.android.volley.VolleyError: Unable to obtain auth token - is the device online? at dfo.a(:com.google.android.gms@11951470:62) at dax.run(:com.google.android.gms@11951470:2) at dav.handleMessage(:com.google.android.gms@11951470:3) at muq.run(:com.google.android.gms@11951470:6) at mvc.run(:com.google.android.gms@11951470:26) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at nak.run(:com.google.android.gms@11951470) at java.lang.Thread.run(Thread.java:761) 01-19 
  </code></pre>