Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Showing all Red errors But all the codes are ok?

[[1]

Android Studio Showing all Red errors But all the codes seems to be OK? In this image shown AppCompatActivity and all imported files. what should I do now ??

like image 670
Imtiaz Dipto Avatar asked Dec 06 '25 05:12

Imtiaz Dipto


1 Answers

First, clean your project and rebuild again. If your issue is not still not resolved the then open the build.gradle(Module:app) file and try to update your appcompat library using this line:

compile 'com.android.support:appcompat-v7:25.1.1'

version number (25.1.1) is different according to your targetSdkVersion.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!