poniedziałek, 5 stycznia 2015

Genymotion - problem finding VirtualBox

So I had this strange bug with Genymotion (nice Android emulator). It uses VirtualBox as emulator base and needs it installed in the system. I had VirtualBox installed but Genymotion was yelling all the time that it cannot find it....somehow I have found that it was looking in wrong directory. I couldn't find any config file (sic!) and almost gave up...but then..I found this small binary inside Genymotion directory! It's called reg.exe. If you start it you will get path to VirtualBox installation...dunno how it gets it but in my situation it was wroooong.So I created this nasty evil workaround:

#include <stdio.h>

int main() {
     // that was proper path for me
     printf("C:\\Program Files\\Oracle\\VirtualBox\\");     

I compiled it, created backup of the old reg.exe, copied new one...and enjoyed working emulator :)

Brak komentarzy:

Prześlij komentarz