billmote / GeofenceExample

A quick POC/Spike solution to familiarize myself with Geofences
13 stars 4 forks source link

Caused by: java.lang.SecurityException: com.androidfu.example.geofences from uid 10049 not allowed to perform MOCK_LOCATION #2

Open Narender8 opened 8 years ago

Narender8 commented 8 years ago

showing me this error on resume at below line Log.i(TAG, "GPS Provider"); locationManager.addTestProvider(LocationManager.GPS_PROVIDER, false, true, false, false, false, false, false, Criteria.POWER_HIGH, Criteria.ACCURACY_FINE); locationManager.setTestProviderEnabled(LocationManager.GPS_PROVIDER, true);

qteen1 commented 8 years ago

Yeah i am getting that error as well, did you find a solution to it?

herbert-soares-ifood commented 5 years ago

Hello, did you find a solution to it?