When using a computer with linux and a nvidia optimus graphics card for Android Development, is it possible to tell Intellij / Android Studio to launch the Android Virtual Devices with bumblebee?
Android Studio / AVD with bumblebee / nvidia optimus
1.5k Views Asked by Eknoes At
1
There are 1 best solutions below
Related Questions in ANDROID-STUDIO
- Flutter plugin development android src not opening after opening example
- Listview - Getting error while linking the items correctly in Android Java
- Failed to getEnergyData
- Adding new package in a flutter project does not work untill the android studio is restarted
- unity + Vuforia balck screen in android AR app
- Android Studio Using recently added resources in compose preview in multi-module project
- Flutter project is working in debug version but not in the release version
- Can't run gradlew.bat on Windows
- Android studio crash, nothing in logcat
- Android Studio shows there has 1 usage but No usages found in All places
- Gradle Build errors while running sample code on Android Studio Iguana
- Android camera application restriction to 12 mp
- Change back to default font size in Android Studio
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- LSTM frozen layer containing clip_by_value causing android studio to crash when deployed
Related Questions in INTELLIJ-IDEA
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- LiveTemplate for TODO shortcut seems not working
- Jetbrains Intellij Works but Fleet does not : "is not recognized as an internal or external command, operable program or batch file."
- Why is there no help text when i write "." in IntelliJ?
- How to enable Kotlin REPL autocomplete
- Selenium error: SessionNotCreatedException | Java, Firefox, everything is updated and should be compatible
- Ubuntu-22.04 File watcher failed repeatedly and has been disabled (External file changes sync might be slow)
- IntelliJ Typescript NoSuchElementException
- I am trying to use h2 in-memory db from my spring boot application, my spring boot version is 3.1.10, but its not connecting to h2 properly
- Is there a new way to undo and redo in the new version of intelliJ
- How to debug a Kotlin/Native application in IntelliJ?
- Why rebuild module does not recompile dependency module, but build module does in IntelliJ Idea?
- Intelij ultimate and spring boot giving me errors
- Minecraft Mod not adding content
- In IntelliJ IDEA Community Edition, can you generate a dependency tree for Maven projects?
Related Questions in ANDROID-VIRTUAL-DEVICE
- How to prevent app from crashing on android emulator
- Time not correct in "Device explorer" (device manager ; android studio)
- Extended Controls makes android-studio crash
- Cordova Android run failed
- AVD's HAXM, AEHD and Hyper-V loop of death... haxm is not installed failure
- Laptop restarts because of running chrome on android studio emulator
- How to change Google Play Store country on Android Emulator (AVD)?
- The Android studio's emulator only performs screen reflection when sizing
- AVD Emulator How can I remove the front camera hole?
- Android Emulator shows glitchy screen with weird artifacts
- App does not open on the Android emulator
- VS Code does not detect AVD
- There are multiple redirected drives and folders showing on AVD profile
- Device Manager not found in Android Studio
- Android emulator command always log an error (Storing crashdata, detection is enabled for process...)
Related Questions in OPTIMUS
- Programically setting NvOptimusEnablement for Python-based OpenGL Programs
- Gtk/gtkmm glarea queue render doesnt work with dedicated graphics
- Kubundu 20.04 switching between Intel and Nvidia GPU
- Vulkan SDK detects only 1 GPU at a time
- Debian bumblebee problems
- How do I tell the Java Invocation Api which java vm to use?
- Child process inherits nvidia profile from parent
- assembly load error on C# exe which has been modified to export a variable
- How to deal the poor bumblebee performance?
- When calling D3D's CREATEDEVICE from inside DLLMAIN in VC++, it creates a deadlock(loaderlock?). Is there a way to overcome this? End goal inside
- Optimus headless browser with C#
- Laravel 5.4 Collection Map Return Values
- tensorflow does not use gpu, but cuda does
- Enable/disable nvidia Optimus programmatically using C++ under Ubuntu amd64
- Enable/disable Optimus/Enduro in cross platform manner
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, it is possible. I do that by using optirun but running avd and android studio separately.
For example, if you have an Android Wear image just run:
optirun ~/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Android_Wear_Square_API_<api version>Works with regular android images as well. Its exactly the same command you use to get avd up and running via command line but you just need to prepend
optirunto run it with your nvidia card.After you do that, Android Studio will detect the emulator when you try to build and run your app, even if you don't run Android Studio using optirun.
Sources:
AVD cli docs
Optirun Docs: ArchWiki, UbuntuWiki.
Hope it helps!