You have to just delete your appcompat and re-import it to eclipse and change its android built property to highest api configuration. Clean your project, copy-paste R file in gen package and change project build path to highest api level like api-21.