Reputation: 618
It's start after I update Android studio to version 3.1 stable, then I open my project, Android studio start to complain that can't resolve bla bla bla... (many import become red)
What I did so far :
But so far the issue is not resolved, some things to note :
Upvotes: 4
Views: 2307
Reputation: 624
I do not know if this will solve your problem, but try to open other old project so Android Studio will ask you to upgrade gradle, do, and after the sync finish, close the project then open your project.
EDIT 1: It seems, my answer will only partially fix your problem, to fully fix your project, you need to open another project then add all your library used on your problematic project, sync the project then close it, your problematic project will be fixed.
But don't ask me why this happen.
EDIT 2: Apparently, you can try deleting all library on your project, sync gradle, then clean project, after that, just add again your library then again sync gradle.
Upvotes: 3
Reputation: 1518
Helps me.
Upvotes: 4