Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Errors running Android Emulator: eglSurfaceAttrib not implemented
Qt 6.11 is out! See what's new in the release blog

Errors running Android Emulator: eglSurfaceAttrib not implemented

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _Rayman_
    wrote on last edited by
    #1

    Hi all,

    I can't get the Android Emulator to work with Qt QML apps at all, even not with the Qt Examples.

    I'm developing on Windows 7, Intel i7, Qt 5.5.1, QtCreator 3.6.0
    I use the most recent versions for Ant, Android NDK and SDK. I use Android x86 with Intel HXVA (but also tried different versions), also I tried different SDK Levels: 19, 21, 22 ... all result in the same errors (here for the QML Caluclator example):

    W/System.err( 2444): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
    W/System.err( 2444): at java.lang.Class.classForName(Native Method)
    [...]
    W/EGL_emulation( 2444): eglSurfaceAttrib not implemented
    D/OpenGLRenderer( 2444): Enabling debug mode 0
    F/libc ( 2444): Fatal signal 8 (SIGFPE) at 0xb7744ac8 (code=1), thread 2458 (xample.calqlatr)

    The app either crashes or shows a white screen on the emulator.

    I googled a lot for the eglSurfaceAttrib error and there are several posts without any good solution. On the web there are suggestions to disable the "Use Host GPU" setting in the AVD Manager which changes the behavior a little, but doesn't work either.

    Is there any solution for this?

    Any help is more than appreciated!

    Stefan

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _Rayman_
      wrote on last edited by _Rayman_
      #2

      No one? :-(

      Maybe someone who has a working Android Emulator environment on Win 7 can tell me his combination of versions Qt, NDK/SKD and SDK/API level that is working?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You should bring this question on the Android-Development mailing list You'll find the Qt's Android port developers/maintainers (this forum is more user oriented)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • SeeLookS Offline
          SeeLookS Offline
          SeeLook
          wrote on last edited by
          #4

          Did You try GenyMotion as an emulator?
          It is free for personal use and works for me quite well.

          1 Reply Last reply
          0
          • _ Offline
            _ Offline
            _Rayman_
            wrote on last edited by
            #5

            This issue has been solved in Qt 5.9 Beta 3. Thanks!
            https://bugreports.qt.io/browse/QTBUG-44697

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved