Fixed #4 (NullPointerException) and updated build tool version and target sdk version.