quittle / gradle-android-emulator

Gradle plugin for starting the Android Emulator when running instrumentation tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add custom flag support

neworld opened this issue · comments

After the latest emulator upgrade, it won't launch inside docker anymore. After long hours I found, the flag -gpu swiftshader_indirect solve the problem. However, there is no API to provide such a flag.

Hey @neworld, I like this feature; it makes a lot of sense and would definitely help unblock people that have issues like yourself or need to set their own flags just because they want to set feature flags. It seems like a simple enough change and will try to get to it as soon as I can.

I don't know if I'll be able to get to it this month with the holidays coming up so I would gladly welcome a PR for it but I'll do my best to support you as soon as I can

Thanks for the approval. I suppose I could find time for it.

I've gotten the bulk of the change done here (5beb2f7) but can't promise I can debug and fix the commit soon.

Amazing! Thanks

This got automatically closed with the push. Just need to tag the commit to get the release once I can prove https://travis-ci.com/quittle/gradle-android-emulator/builds/141814805 succeeds

Okay, try out 0.1.0 and see if it works as you expect!