I found a solution, I just changed the AVD configuration. Changed the graphics parameter to software and everything worked!