The Android emulator 29.0.9 has a bug in GL_OES_EGL_image_external that can break glGenerateMipmap(). This simple app demonstrates the bug. There is also an instrumented test.
Nearly all of the files in the project are boilerplate. The interesting ones are the MainActivity and the instrumented test.
Filed on the Android issue tracker.