Fixed eraser not working in certain situations

- Upgrade android stduio/gradle