Cannot import


I’m having a hard time importing this fragment class. Alt+enter doesn’t show any options that are available in listing 7.15.

Here is the available Fragment class to import

I have do some research online and and find out that I need to install and reference support library 4 by adding this line to the module app build.gradle file.
implementation ''

After recompiling, syncing the gradle file the error is still there.

I have also tried the solutions in this thread, but none of the solutions worked for me.

How can I fix this?

edit: I have tried to update with the new configuration, but I received Manifest Merger Failed error.