简体   繁体   中英

Cannot Resolve Symbol AppCompatActivity, Cannot Resolve Symbol ContextCompat

Everything works fine, but in Android Studio showing below errors 在此处输入图片说明

the code runs but unable to get suggestions for functions, class etc.

Thanks

I had the same exact issue as you... upgraded to 3.1.2/3 and turned into a mess.

Try the following approach of deleting the libraries folder from .idea!

Cannot resolve symbol 'AppCompatActivity'

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