R file added and appcompat error resolved