command: no GL extensions found.
- Dominant language
- Java
- Stars
- 4k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
On an m1 Mac, trying to install apks on an emulator, I get the error `Error: Unexpected output of 'dumpsys SurfaceFlinger' command: no GL extensions found.`
A google search turns up nothing...
**Bundletool version(s) affected**
Version: 2.2.22
**Stacktrace**
```bash
bundletool install-apks --apks /Users/julian/Downloads/myapp.apks --device-id emulator-5554
[BT:1.9.1] Error: Unexpected output of 'dumpsys SurfaceFlinger' command: no GL extensions found.
com.android.tools.build.bundletool.model.exceptions.AdbOutputParseException: Unexpected output of 'dumpsys SurfaceFlinger' command: no GL extensions found.
at com.android.tools.build.bundletool.model.exceptions.InternalExceptionBuilder.build(InternalExceptionBuilder.java:57)
at com.android.tools.build.bundletool.device.GlExtensionsParser.parse(GlExtensionsParser.java:72)
at com.android.tools.build.bundletool.device.DdmlibDevice.getGlExtensions(DdmlibDevice.java:147)
at com.android.tools.build.bundletool.device.DeviceAnalyzer.getDeviceSpec(DeviceAnalyzer.java:62)
at com.android.tools.build.bundletool.commands.InstallApksCommand.execute(InstallApksCommand.java:185)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:91)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:49)
```
**To Reproduce**
1. Convert aab to APKs
1. Attempt to install APKs onto emulator
**Expected behavior**
Successfully installs APK
**Known workaround**
None
**Environment:**
OS: macOS 12.3
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.