Git Product home page Git Product logo

Comments (6)

741g avatar 741g commented on May 2, 2024 2

Sorry about that; it's a Qt setting and Qt settings are system wide. To fix it next time around, you'll have to dig into the runemu script and add -gpu host to the emulator invocation there.

from android-emulator-m1-preview.

PontonMao avatar PontonMao commented on May 2, 2024 1

@WDgaster66
I did the same thing. Have you solved it?How?

from android-emulator-m1-preview.

marcosalis avatar marcosalis commented on May 2, 2024 1

I have the same exact issue and haven't been able to find a workaround so far. Using the latest emulator tools (31.2.8). If I run the emulator from the command line I get these error messages:

ERROR   | EglOsGlLibrary: Could not open GL library libGLESv2.dylib [dlopen(libGLESv2.dylib, 0x0002): tried: '/Users/...' (no such file), '/Users/.../Library/Android/sdk/emulator/lib64/gles_swiftshader/libGLESv2.dylib' (code signature in <B48F2D27-E9C4-30EF-A948]

ERROR   | EglOsEglDispatcher: Could not open EGL library libEGL.dylib [dlopen(libEGL.dylib, 0x0002): tried: '/Users/.../Library/Android/sdk/emulator/lib64/qt/lib/libEGL.dylib' (no such file), '/Users/.../Library/Android/sdk/emulator/lib64/gles_swiftshader/libEGL.dylib' (code signature in <5C3ABCC5-722A-3AEA-AF5B-6CEEFF8D]

Weirdly enough, the emulator runs correctly when launched with sudo from the terminal (but it doesn't work with Studio, I guess due to permissions issues).

from android-emulator-m1-preview.

WDgaster66 avatar WDgaster66 commented on May 2, 2024

Screen Shot 2021-01-12 at 6 34 10 PM

I factory reset my M1 and can confirm that messing with these settings basically bricks your emulators. I don't know where the settings file for this is saved, so you can't really revert this change without clearing everything.

from android-emulator-m1-preview.

moyuwangP avatar moyuwangP commented on May 2, 2024

adding sudo doesn't work for me.
will this issue be fixed?

from android-emulator-m1-preview.

Tracht avatar Tracht commented on May 2, 2024

Sorry about that; it's a Qt setting and Qt settings are system wide. To fix it next time around, you'll have to dig into the runemu script and add -gpu host to the emulator invocation there.

This worked for me. You're a lifesaver. Full script I used: emulator -avd Pixel_5_API_30 -gpu host inside the path: Users/YourName/Library/Android/sdk/emulator

As specified here: https://developer.android.com/studio/run/emulator-commandline

from android-emulator-m1-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.