import android.support.v4.content.FileProvider; for andriodx code example Example: ndroid.support.v4.content.FileProvider androidx.core.content.FileProvider;