Coder Social home page Coder Social logo

Comments (3)

shailen avatar shailen commented on June 7, 2024

Hmmm. I can run the sample fine using the Emulator. Do you have trouble running the sample on a real device as well?

from location-samples.

hckrtst avatar hckrtst commented on June 7, 2024

I see the same issue on a Nexus5, however the sample runs as expected. Fetch works fine.

02-01 20:25:52.520 28713-28745/com.google.android.gms.location.sample.locationaddress E/GMPM: getGoogleAppId failed with status: 10
02-01 20:25:52.520 28713-28745/com.google.android.gms.location.sample.locationaddress E/GMPM: Uploading is not possible. App measurement disabled

02-01 20:25:53.339 28713-28713/com.google.android.gms.location.sample.locationaddress D/main-activity: Google api client connect done
02-01 20:26:02.935 28713-28713/com.google.android.gms.location.sample.locationaddress D/main-activity: Google api client connect done

02-01 20:26:04.313 28713-28713/com.google.android.gms.location.sample.locationaddress D/main-activity: started service to fetch address
02-01 20:26:04.434 28713-28719/com.google.android.gms.location.sample.locationaddress W/art: Suspending all threads took: 13.437ms
02-01 20:26:06.355 28713-29123/com.google.android.gms.location.sample.locationaddress I/FetchAddressIS: Address found

Perhaps the error is benign for this use-case?

from location-samples.

Alexsan avatar Alexsan commented on June 7, 2024

When I run it on the Nexus 5 and 6 emulators, it gives me these errors as well:

E/GMPM: getGoogleAppId failed with status: 10
E/GMPM: Uploading is not possible. App measurement disabled

But it works when I use Galaxy Tab or a Android phone. Aside from renaming the root folder to a shorter name where the sample app resides and updating Google Play Services, I haven't really changed anything. Does anyone know why this is the case?

from location-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.