Reputation: 35
Today when I open my project the android studio doesn't find the references of things, yesterday the app was running correcly when turn off the Windows had updated and when started Android Studio update too, I saw something about gradle but put it in local/offline doesn't works
Upvotes: 2
Views: 1430
Reputation: 1926
If suggested answers did not solve the problem then try this.
File > Repair IDE > Rescan Project
It will show action to perform which includes Rescan, Reopen, re-indexing project and invalidate cache & restart
Upvotes: 0
Reputation: 11
Try upgrading the grade plugin, then increase your compileSDKtarget version, then apply the Kotlin migration.
Lastly, Build your app These steps worked for me.
Upvotes: 1
Reputation: 21
I had the same problem with my RecyclerViewAdapter and it resolved the problem by deleting "R.android.r". I am not sure if this is a specific situation for me but see if you can find it within your import section.
Upvotes: 1
Reputation: 105
Try to remove or rename the Android SDK folder and restart the Android Studio. It will be recreated SDK folder. And you can use it normally.
Upvotes: 1
Reputation: 655
Most likely the problem is with Android Studio caches. Try "File" -> "Invalidate Caches / Restart...", and select "Invalidate and Restart".
Upvotes: 4