Status Update
Comments
er...@google.com <er...@google.com> #2
Hello everyone. Is this bug going to be fixed? I have to install 3rd party app to emulate the location. I really need this feature. Please, fix it.
er...@google.com <er...@google.com> #3
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #4
ch...@google.com <ch...@google.com>
vi...@gmail.com <vi...@gmail.com> #5
ch...@google.com <ch...@google.com> #6
Also keeps loading when uploading saved route.
SDK does not change anything, I'll try changing API 33 to another one maybe that's the issue.
Ubuntu 22.04
vi...@gmail.com <vi...@gmail.com> #7
I tried several API emulators (23 to 33).
Also tried deleting and creating emulators again.
Also tried rolling back the emulator version a couple of versions prior.
Calling the emulator in the command line instead of in the IDE, does not solve it either.
Nothing worked and I have both problems: map does not appear and when clicking the routes, it gets stuck on Loading.
ch...@google.com <ch...@google.com> #8
For now as a workaround you can you the flatpak version as suggested by @Torben
vi...@gmail.com <vi...@gmail.com> #9
Same problem on Ubuntu 22.04. It's been broken for 3 months, is there any way to get someone at Google to take notice of this problem? Android Studio cannot be used for location based development on Linux.
Note that the Flatpak version is not an official distribution. Page says "NOTE: This wrapper is not verified by, affiliated with, or supported by Google."
Emulator is https://dl.google.com/android/repository/emulator-linux_x64-8420304.zip
vi...@gmail.com <vi...@gmail.com> #10
Same problem on the latest Fedora 36 with kernel 5.18! I have to install 2 or more Android Studio on my PC to debug the app with Location. There isn't flatpak of Canary build :(
vi...@gmail.com <vi...@gmail.com> #11
Has anyone checked with KDE DE? Maybe Flatpak version is using KDE Framework Flatpak Dependency and it is working?
ch...@google.com <ch...@google.com> #12
vi...@gmail.com <vi...@gmail.com> #13
ch...@google.com <ch...@google.com> #14
ap...@google.com <ap...@google.com> #15
Any progress on the issue? It been present for more than 4 months, I would really love to just be able to run my emulator
through terminal and not have to worry about this issue.
Description
1.0.0-alpha07
DEVICE NAME: (Nexus 5X, Samsung S6, etc)
name : FUJITSU arrowsM04
Android OS version : 7.1.1
name: FUJITSU F-04J
Android OS version : 6.0.1
name: FUJITSU F-05J
Android OS version : 7.1.1
DESCRIPTION:
We receive following crash report from our app user.
Fatal Exception: java.lang.IllegalArgumentException: Can not get supported output size under supported maximum for the format: 34
at a.c.a.b.k0.a + 98(SupportedSurfaceCombination.java:98)
at a.c.a.b.k0.a + 30(SupportedSurfaceCombination.java:30)
at a.c.a.b.t.a + 22(Camera2DeviceSurfaceManager.java:22)
at androidx.camera.core.k1.a + 98(CameraX.java:98)
at androidx.camera.core.k1.a + 22(CameraX.java:22)
at a.c.b.c.a + 6(ProcessCameraProvider.java:6)
at <out app package name>.CameraFragment.a + 33(CameraFragment.kt:33)
at <out app package name>.CameraFragment.a + 1(CameraFragment.kt:1)
at <out app package name>.CameraFragment$m.run + 1(CameraFragment.kt:1)
at android.os.Handler.handleCallback + 751(Handler.java:751)
at android.os.Handler.dispatchMessage + 95(Handler.java:95)
at android.os.Looper.loop + 154(Looper.java:154)
at android.app.ActivityThread.main + 6262(ActivityThread.java:6262)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 890(ZygoteInit.java:890)
at com.android.internal.os.ZygoteInit.main + 780(ZygoteInit.java:780)
REPRODUCIBILITY: (5 of out 5, 1 out of 100, etc)
We receive this crash report from only three devices. And these devices's manufacturer is FUJITSU.
ADDITIONAL INFORMATION:
CODE FRAGMENTS (this will help us troubleshoot your issues):
Our app bind usecases by following code.
private fun bindCameraUseCases(processCameraProvider: ProcessCameraProvider) {
preview = Preview.Builder().apply {
setTargetAspectRatio(AspectRatio.RATIO_4_3)
}.build().apply {
previewSurfaceProvider = binding.previewViewCamera.previewSurfaceProvider
}
imageCapture = ImageCapture.Builder().apply {
setCaptureMode(ImageCapture.CaptureMode.MINIMIZE_LATENCY)
setTargetAspectRatio(AspectRatio.RATIO_4_3)
setFlashMode(FlashMode.OFF)
}.build()
val cameraSelector = CameraSelector.Builder().requireLensFacing(LensFacing.BACK).build()
processCameraProvider.bindToLifecycle(viewLifecycleOwner, cameraSelector, preview, imageCapture)
}