I have recently updated my Android Studio to 3.0. I tried using Preconditions.checkNotNull() but it shows an error with following message.
Preconditions.checkNotNull() can only be called from within the same library group (groupId=com.android.support).
I searched some other links and found something similar happening when older support library versions were rolled out.
AppCompatActivity.onCreate can only be called from within the same library group
Suggested answers tells me to disable lint warnings but I don't think it's the right thing to do in the long run.
Any explanation on why this particular error shows up?