I just removed the support library (I will support only one device, of API level 15) and my code runs fine after cleaning of the project. However, when I only touch the file in which I use getFragmentManager()
, I get this Lint error.
Weird thing is that I have minSdkVersion
in my manifest set to 15:
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="18" />
I searched for this error, but all it says basically is to clean lint markers or clean the project. Which works, but only just one time.
Update it is even worse. If I don't clean, but just resave the file, the errors add up. I started with 6 errors, I have 24 now....
I have fixed this way
Select File -> Invalidate Caches / Restart -> Invalidate and Restart.
I am facing the same issue. I clean and build the project multiple times, but getting this issue again and again. I clean and build the project and then restarted the eclipse. It is working fine for me now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With