Series of errors when compiling android studio Ubuntu 17.04

0

I'm having trouble compiling projects in android studio. I downloaded the ide in ubuntu 17.04 however, whenever I compile, a series of errors appears.

    Emulator: Process finished with exit code 1
Emulator: Current serial number in output stream: 40
Emulator: Serial number of failed request: 39
Emulator: Value in failed request: 0x0
Emulator: Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Emulator: Major opcode of failed request: 155 (GLX)
Emulator: X Error of failed request: BadValue (integer parameter out of range for operation)
Emulator: libGL error: failed to load driver: swrast
Emulator: libGL error: unable to load driver: swrast_dri.so
Emulator: libGL error: failed to load driver: i965
Emulator: libGL error: driver pointer missing

I have no idea what these mistakes are since this is my first contact with the platform.

    
asked by anonymous 04.11.2017 / 16:12

1 answer

0

This question may have multiple answers due to SO settings, from IDE itself.

  

1st checks the installation of Android Emulator if it is installed and active.

Log in to the SDK Manager, the screen shown will be displayed below, click% with% and check that SDK Tools is enabled and installed.

If it is not installed select and check apply and confirm the next screens.

Update the AVD versions of the device and make sure that it runs on the selected version of the android.

It's also worth checking the updates for Android Emulator

Run the commands below in ubuntu , remembering that you need to be logged in as root, terminal .

sudo apt-get update
sudo apt-get upgrade
    
04.11.2017 / 17:42