Hi,
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 'com.android.support:support-v4:28.0.0'
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 gradle.properties with the new configuration, but I received Manifest Merger Failed error.