Status Update
Comments
wk...@google.com <wk...@google.com> #2
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
jv...@google.com <jv...@google.com>
hu...@google.com <hu...@google.com> #3
This is likely a duplicate of libs.androidx.window
dependency to implementation
to see if it works?
wk...@google.com <wk...@google.com> #4
So I seem to have two different problems, but maybe they're connected:
On API 31 the Gradle task never finishes and I have to CTRL-C
On API 30 I always get an exception
Both logs attached with kernel logging enabled
hu...@google.com <hu...@google.com> #5
I couldn't find any interesting line from debug-31-hang.txt. debug-30-crash2.txt has an interesting error:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 7
Serial number of failed request: 57
Current serial number in output stream: 58
Yahan, have you seen this error message from an emulator's kernel log output?
hu...@google.com <hu...@google.com> #6
In a meanwhile, could you also try using those flags: -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
and -Dorg.gradle.workers.max=1
?
ya...@google.com <ya...@google.com> #7
Re #5 I don't remember seeing this error message.
I was expecting a much longer emulator log if it launches successfully. Would you try it with the swiftshader flag first? (as instructed in #6)
Also, would you try to create an AVD in Android Studio with the AOSP ATD image, then launch the emulator from command line with the "-no-window" flag? Your command should look like:
/path/to/emulator -avd your_avd_name -no-window
The emulator should have no pop up window, but it will print a "Boot complete" message in the console after a while.
wk...@google.com <wk...@google.com> #8
both API 30 and 31 setup task completed successfully for me with just -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect
to...@googlemail.com <to...@googlemail.com> #9
Setting the graphic acceleration to "swiftshader_indirect" works for me (when run on my Desktop machine), too.
Description
I am unable to run any GMD device. Previously I've seen a generic error message on any device configuration I tried, that said something about trying to run the emulator in Studio to verify it works (I verified I can run emulators in Studio), but it didn't help me solve my issue. I started deleting various folders with downloaded or created emulators to see if I can get back to a working state, but now my GMD setup task just hangs forever with the following info:
It never progressess or fails.