android / location-samples

Multiple samples showing the best practices in location APIs on Android.
Apache License 2.0
2.7k stars 2.78k forks source link

Samples not working for Oreo #102

Open Shanki070 opened 6 years ago

Shanki070 commented 6 years ago

I have run the sample : BasicLocationSample and LocationUpdate. It's not working properly for Oreo device.

shailen commented 6 years ago

These samples currently target Nougat. Can you describe the behavior you're seeing?

akbarmir commented 6 years ago

I have run locationAddress sample on emulator(android 8.1 api 27) but it did not work. this is my logcat I want to use it my app please help me output: 01-13 03:10:23.683 7383-7383/? I/zygote: Not late-enabling -Xcheck:jni (already on) 01-13 03:10:23.699 7383-7383/? W/zygote: Unexpected CPU variant for X86 using defaults: x86 01-13 03:10:23.984 7383-7383/com.google.android.gms.location.sample.locationaddress I/InstantRun: starting instant run server: is main process

                                                                                              [ 01-13 03:10:23.984  1683: 1702 D/         ]
                                                                                              HostConnection::get() New Host Connection established 0x9b923180, tid 1702

                                                                                              [ 01-13 03:10:23.985  1683: 1702 W/         ]
                                                                                              Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 

01-13 03:10:24.185 7383-7410/com.google.android.gms.location.sample.locationaddress D/OpenGLRenderer: HWUI GL Pipeline 01-13 03:10:24.233 7383-7410/com.google.android.gms.location.sample.locationaddress I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 01-13 03:10:24.233 7383-7410/com.google.android.gms.location.sample.locationaddress I/OpenGLRenderer: Initialized EGL, version 1.4 01-13 03:10:24.233 7383-7410/com.google.android.gms.location.sample.locationaddress D/OpenGLRenderer: Swap behavior 1 01-13 03:10:24.233 7383-7410/com.google.android.gms.location.sample.locationaddress W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 01-13 03:10:24.233 7383-7410/com.google.android.gms.location.sample.locationaddress D/OpenGLRenderer: Swap behavior 0 01-13 03:10:24.254 7383-7410/com.google.android.gms.location.sample.locationaddress D/EGL_emulation: eglCreateContext: 0xa352b680: maj 2 min 0 rcv 2 01-13 03:10:24.298 7383-7410/com.google.android.gms.location.sample.locationaddress D/EGL_emulation: eglMakeCurrent: 0xa352b680: ver 2 0 (tinfo 0xa350f790) 01-13 03:10:24.330 7383-7383/com.google.android.gms.location.sample.locationaddress W/MainActivity: onSuccess:null 01-13 03:10:24.390 7383-7410/com.google.android.gms.location.sample.locationaddress D/EGL_emulation: eglMakeCurrent: 0xa352b680: ver 2 0 (tinfo 0xa350f790)