Ubuntu 16.04 - Genymotion: /dev/hw_random not found - android

I install Genymotion on the Ubuntu 16.04 64Bit. I created a virtual emulator for Android 6.0 then I run this emulator but emulator is disappearing and the emulator is running background. I checked the emulator on the VirtualBox and I saw this issue:

I solved the issue:
System Settings > Software & Updates > Additional Drivers :
Then you click Apply Changes button and you restart your pc.
I don't know reason of the issue, open source driver is not running for Genymotion but NVIDIA is running.

I had exactly the same issue as in the image but i am using Windows 10 and the version of Genymotion is 3.0.1, so the problem was that my graphics card no longer matches Genymotion requirements. So simple solution was that I had downgrade Genymotion to 2.12.2.
https://dl.genymotion.com/releases/genymotion-2.12.2/genymotion-2.12.2.exe

Just go to your install directory and delete the libdrm.so.2, then restart.
Use command:
cd /genymotion/install/directory
mv libdrm.so.2 libdrm.so.2_bk
And then restart.
Here is the reference: Genymotion is not working

For those who struggled with this problem, I just could not get it to solve - tried different versions of virtualbox to see what is compatible with genymotion etc
Finally I directly downloaded and android vdi from here
http://www.osboxes.org/android-x86/
and installed it as in
https://blogs.oracle.com/oswald/importing-a-vdi-in-virtualbox
wwhew ... that worked
Hope that helps

Update your genymotion and Virtualbox...
this way fix problem

Related

impossible to create emulator with android studio

I have a problem with the android studio emulator. When I try to create the emulator I got the following message:
ERROR CREATIN AVD, an error occured while creating the avd, see idea.log.details
I followed the recommendations for the configuration of the emulator.
What could be the reason for this error?
My configuration: I have a MacBook Air 2014 and OS x El Capitan (10.11.6)
I choose X86 or X84_64
Thanks in advance.
The Android Developers website has a comprehensive and detailed tutorial on how to properly set up your emulator. Please follow the tutorial below as well as my suggestions for success:
Make sure you have the latest version of android studio installed
On the top menu, select Help -> Check for Update and install any new updates that the IDE recommends.
The following command worked for a Linux user encountering the same issue. It is worth a shot, but I doubt that is the reason for your error: sudo apt-get install lib32stdc++6
Perhaps you didn't install android studio properly and you are missing some plugin for the AVD. To be 100% sure, follow the below tutorials from Android on how to properly set-up your AVD.
References
https://developer.android.com/studio/run/managing-avds.html
https://developer.android.com/studio/install.html
AVD emulator error in android studio
your HAXM is not enable
pls enable it from bios
go to Bios-> find Intel Virtual Technology-> Enable
i find this : he say go the terminal (mac os) and paste : sysctl -a | grep machdep.cpu.features
I think we have targeted the problem. I made the recommendations (make this copy paste in the terminal), I checked that the option was activated in my SDK, always this damn error ...
The bios for mac os (from the internet it is not accessible).
thank you

Android Studio update broke my emulators

I just did an update to Android Studio 2.0 and several components. Now whenever I try to run an emulator, it gives an error saying
CPU acceleration status: HAXM must be updated (version 1.1.4 < 6.0.1).
I've checked. HAXM is updated to 6.0.1. I've restarted, rebuilt an emulator from scratch, and none of that helps.
I just needed to run sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
If you're using Mac, just running the dmg or silent_install.sh will solve the issue.
dmg's path is (silent install script is in the same dir also):
path_android_sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_6.0.1.dmg
Uninstall HAXM from SDK manager
Again install HAXM in SDK manager
Now goto sdk_path/extras\intel\Hardware_Accelerated_Execution_Manager and double click on intelhaxm-android.exe
After completion of above steps try to run emulator.
(I got same problem, did above steps worked as expected.)
Using: Windows 10
Tested: May, 03, 2016
This is what worked for me without uninstalling anything:
1. Download INTEL HAXM from Intel site
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement
2. Locate the HAXM folder in your PC - in my case this is the path:
C:\Users\my_user_name\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Note: if you can't find the folder, you probably don't have HAXM installed and this steps will not work for you
3. Extract downloaded file (in my case --> haxm-windows_v6_0_1.zip <--) in HAXM folder from step 2 and overwrite all duplicate files if needed
4. Install the updated version by running --> intelhaxm-android.exe <-- located in folder from step 2 and follow installation process
Well, Google already is working on new built from scratch emulator, so it might be some problem with exisitng ones
I recommend you nowadays, as you have upgraded your Android Studio to 2.0 version use temporary Genymotion emulator: https://www.genymotion.com
It uses HAXM, it's much faster than Google's default emulator, and has some useful features like faking GPS localization.
Give it a try. I'm already using it and that's why I am highly recommend you this.
Sorry, that I haven't respond clearly to your question, but it seems to be an Android problem, and you should to downgrade it to previous one.
To avoid that, please try to use Genymotion emulator.
We need to install intel HAXM updated version ( search in google ) after issue resolved now I can see my emulator.
Thanks

Unable to launch android emulator in Mac

I have been working on an android project, I am using android studio on my iMAC[Software OS X 10.9.5, Graphics Intel HD Graphics 5000 1024 MB, Processor 1.4 GHz Intel Core i5].
When i try to open my application on an android emulator it get this error-
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I can find so many similar issues with solution on Google & SO, but i am unable to use those solutions for MAC???
I followed all the steps given here but with no luck, still unable to launch emulator. I think there is something to do with mac os.
Can anyone tell me how to do this on MAC ??
Thanks
First, make sure that the Intel HAXM is up to date. You update it by opening the SDK and selecting it in the list. (As of 2016-07-08, the latests HAXM version is 6.0.3).
Then, on Mac, the Android SDK gets installed at: /Users/username/Library/Android/sdk/, therefore, you will need to run the script as sudo, as follows:
sudo sh ~/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh
If all goes well, the script prints the message: "Silent installation Pass!"
Then, restart Android Studio and run your app with the desired AVD.
I know I'm late, but here it goes.
Delete all AVD's that you currently have.
Go to Preferences >> Android SDK >> SDK Tools
Uninstall Android Emulator
Restart Android Studio.
Re-install Android Emulator from the same place.
Create a new emulator. And Voila !
What i personally did, in the process of fixing this.
I actually re-installed entire android studio. Followed this
Fixed my $PATH variables. Followed this
Then i tried re-installing Android Emulator, which worked for me.
Hope this Helps.
Problem in my case turned out to my .zshrc where my ANDROID_HOME was exported to a wrong value. Take a look at your .bashrc or .zshrc

genymotion "unable to load virtualbox engine" on windows 10 and Virtualbox error " Result Code: E_FAIL (0x80004005)"

I recently upgraded to Windows 10 , Genymotion doesn't seem to be working. It says "Unable to load VirtualBox Engine."
Now i did a bit of research and all the solutions suggested to Delete the Host-only network from Virtual Box settings. Well here's the thing i don't have any networks listed there. And the one which i found on the Network and Sharing center cannot be deleted and when i try to create a new one on virtualbox , it fails .
Even a clean install hasn't solved the issue
here is the screenshot of the problem.
http://i.stack.imgur.com/qwVLh.png
genymotion.exe -> Properties -> tab Compatibility -> In Compatibility mode, check Run this program in compatibility mode for and selected Windows 8 -> check Run this program as an administrator -> Ok
Hope it will solve your problem.
I had installed Genymotion + VBox package, and was having the same problem.
Running in compatibility mode didn't work for me, but this did:
1 - Uninstall VBox. Install latest version.
2 - Download Genymotion without VBox. Install Genymotion.
I had the same problem and just solve it.
uninstall Genymotion and VM VirtualBox and download the full package not from here
The old version has some problems with windows10 that have been solved in the last update.
that works for me.
Reply from (I had the same problem and just solve it.
uninstall Genymotion and VM VirtualBox and download the full package not from here
The old version has some problems with windows10 that have been solved in the last update.)
I always keep downloading in this site (https://www.genymotion.com) in which I always encountered error in file (unable to load virtualbox engine).
But after I read your comment, I decided to look for latest genymotion and virtualbox from other site. And it works perfectly. Thanks.
I just solved the problem. You'll need to uninstall both Virtual Box and GenyMotion from your PC.You'll have to download the complete package(Genymotion + Virtual Box) from the Genymotion site.
Simply install both of them from the same package. And it will solve your problem (:
Reinstalling Virtualbox worked for me.

Genymotion emulator not able to launch in windows 8.1

I am not able to start genimotion emulator after upgrading my windows to 8.1. It shows black screen saying dialog "Starting an emulator".
Can anyone know some work around for this?
I've managed to get mine to work by:
Uninstall Genymotion
Uninstall Virtualbox
Install latest Virtualbox
Install Genymotion (the version without Virtualbox)
Caveats: Runs slower than mollases :( I'll post back here if I find a fix for that.
I have uninstalled every thing and install new version 2.0.1 and working fine in windows 8.1 64-bit.
Had the same issue. For me it was enough to update VirtualBox to the latest available release which is version 4.18 at the time of this writing. No need to uninstall anything or to touch Genymotion itself.

Categories

Resources