简体   繁体   中英

My android studio showing an error

Recently, I have updated my SDK version to 27 from 26. and now I get red lines of error on newly created project whereas my new created Android project is running successfully. I have tried all clean project rebuild project and all possible options but red lines are not going I have attached screenshots. MainActivity类代码

将targetSdkVersion和compiledSdkVersion更改为27,并将appcompat -v7 26.1.0更改为27。?。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM