title: Is it possible to run android studio in virtualbox?
body: <p>My host is Windows 8.1 and guest is Xubuntu 14.04.02 and I'm trying to run Android studio emulator in Xubuntu. This is the error I'm getting:</p>
  
  <pre><code>/home/ravioli/Android/Sdk/tools/emulator -avd Nexus_5_API_21 -netspeed full -netdelay none
  libGL error: pci id for fd 4: 80ee:beef, driver (null)
  OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
  OpenGL Warning: glVertexArrayRangeNV not found in mesa table
  OpenGL Warning: glCombinerInputNV not found in mesa table
  OpenGL Warning: glCombinerOutputNV not found in mesa table
  OpenGL Warning: glCombinerParameterfNV not found in mesa table
  OpenGL Warning: glCombinerParameterfvNV not found in mesa table
  OpenGL Warning: glCombinerParameteriNV not found in mesa table
  OpenGL Warning: glCombinerParameterivNV not found in mesa table
  OpenGL Warning: glFinalCombinerInputNV not found in mesa table
  OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
  OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
  OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
  OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
  OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
  OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
  OpenGL Warning: glDeleteFencesNV not found in mesa table
  OpenGL Warning: glFinishFenceNV not found in mesa table
  OpenGL Warning: glGenFencesNV not found in mesa table
  OpenGL Warning: glGetFenceivNV not found in mesa table
  OpenGL Warning: glIsFenceNV not found in mesa table
  OpenGL Warning: glSetFenceNV not found in mesa table
  OpenGL Warning: glTestFenceNV not found in mesa table
  libGL error: core dri or dri2 extension not found
  libGL error: failed to load driver: vboxvideo
  getGLES1ExtensionString: Could not find GLES 1.x config!
  Failed to obtain GLES 1.x extensions string!
  emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
  Could not initialize emulated framebuffer
  </code></pre>
  
  <p>Is it possible to do this? 
  3d is enabled in windows and checked on virtualbox machine settings.
  Any help will be appreciated.</p>
  
  <p>/********************************************************/</p>
  
  <p>I did what Ankush suggested and now these are the errors I'm getting:</p>
  
  <pre><code>/home/ravioli/Android/Sdk/tools/emulator -avd Nexus_5_API_21_2 -netspeed full -netdelay none
  libGL error: pci id for fd 4: 80ee:beef, driver (null)
  OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
  OpenGL Warning: glVertexArrayRangeNV not found in mesa table
  OpenGL Warning: glCombinerInputNV not found in mesa table
  OpenGL Warning: glCombinerOutputNV not found in mesa table
  OpenGL Warning: glCombinerParameterfNV not found in mesa table
  OpenGL Warning: glCombinerParameterfvNV not found in mesa table
  OpenGL Warning: glCombinerParameteriNV not found in mesa table
  OpenGL Warning: glCombinerParameterivNV not found in mesa table
  OpenGL Warning: glFinalCombinerInputNV not found in mesa table
  OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
  OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
  OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
  OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
  OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
  OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
  OpenGL Warning: glDeleteFencesNV not found in mesa table
  OpenGL Warning: glFinishFenceNV not found in mesa table
  OpenGL Warning: glGenFencesNV not found in mesa table
  OpenGL Warning: glGetFenceivNV not found in mesa table
  OpenGL Warning: glIsFenceNV not found in mesa table
  OpenGL Warning: glSetFenceNV not found in mesa table
  OpenGL Warning: glTestFenceNV not found in mesa table
  libGL error: core dri or dri2 extension not found
  libGL error: failed to load driver: vboxvideo
  getGLES1ExtensionString: Could not find GLES 1.x config!
  Failed to obtain GLES 1.x extensions string!
  Creating filesystem with parameters:
      Size: 69206016
      Block size: 4096
      Blocks per group: 32768
      Inodes per group: 4224
      Inode size: 256
      Journal blocks: 1024
      Label: 
      Blocks: 16896
      Block groups: 1
      Reserved block group size: 7
  Created filesystem with 11/4224 inodes and 1302/16896 blocks
  emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
  Could not initialize emulated framebuffer
  </code></pre>
  
  <p>I'd be happy for any help or suggestion.</p>