Is the coded updated correctly? I tried to create an application following all of the steps but I am getting some NumberFormatExceptions when I creating the AVD. See https://www.dropbox.com/s/f33muqaalf422xh/Screen%20Shot%202017-08-15%20at%201.16.51%20PM.png?dl=0
I can publish the application in a github repo. Let me know if this is something useful for you.