apps-android-commons: Unable to login on API 19
Summary:
Unable to login on API 19, it says “Unable to login - network failure”. I am able to login from other emulators.
System logs:
11-14 12:17:06.393 2991-2991/fr.free.nrw.commons D/LoginActivity: Login to start!
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressStandard.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressDelete.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressReturn.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
11-14 12:17:06.403 1728-1989/system_process E/SoundPool: error loading /system/media/audio/ui/KeypressInvalid.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg
11-14 12:17:06.403 1728-1989/system_process W/AudioService: onLoadSoundEffects(), Error -1 while loading samples
11-14 12:17:06.443 2991-2991/fr.free.nrw.commons D/EGL_emulation: eglMakeCurrent: 0xb7c696d0: ver 2 0
11-14 12:17:06.453 2991-2991/fr.free.nrw.commons E/EGL_emulation: tid 2991: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
11-14 12:17:06.453 2991-2991/fr.free.nrw.commons W/HardwareRenderer: Backbuffer cannot be preserved
11-14 12:17:06.463 2991-2991/fr.free.nrw.commons D/EGL_emulation: eglMakeCurrent: 0xb7c696d0: ver 2 0
11-14 12:17:06.483 2991-2991/fr.free.nrw.commons D/EGL_emulation: eglMakeCurrent: 0xb7c696d0: ver 2 0
11-14 12:17:06.883 2991-2991/fr.free.nrw.commons D/LoginActivity: Login done!
11-14 12:17:06.883 2991-2991/fr.free.nrw.commons D/EGL_emulation: eglMakeCurrent: 0xb7c696d0: ver 2 0
--------- beginning of /dev/log/system
11-14 12:17:06.883 1728-2049/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@9dbecd58 attribute=null, token = android.os.BinderProxy@9d174ac8
Device and Android version: Pixel_API_19 Emulator, Lenovo API 19 real device.
Commons app version: 2.9-release and master / prod debug
Screen-shots:

Would you like to work on the issue? Ideally not
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (16 by maintainers)
I am able to login on API 19.
Huh, it is very strange that you are not getting the API call results on verbose. Can you paste the ENTIRE logs, not just the error? Alternatively, use Send Logs.
(I fixed the indentation in your post. You need to use the triple apostrophe for multiple line code, not the single apostrophe.)