android studio shows errors but compiles