I am still getting this lint error even though I a...
# android
a
I am still getting this lint error even though I am using Fragment 1.3.6. Any ideas?
t
Check if you’re using the Fragment from androidx.fragment.app instead of android.app
Ctrl + Click on the Fragment class, and “Select Opened File” (this icon:)
a
i am importing the correct androidx fragment
just checked
j
Is this the
InvalidFragmentVersionForActivityResult
rule?
We had same issue and had to disable the lint check
i
Have you filed a bug against Jetpack > Activity (the Lint rule is part of Activity, not Fragment) with a project that reproduces this lint error?
j
We had trouble reproducing the failure in a test project with same code + version