Skip to content
Advertisement

Tag: androidx

Getting “error: package androidx.core.content does not exist” when trying to build android project with FileProvider

I am relatively new to Android development, and I’m using Android Studio for development. I am trying to work with the camera for my app, and I’m trying to follow the instructions here https://developer.android.com/training/camera/photobasics. It says to use the FileProvider class, but when I try to import it, I get the error “error: package androidx.core.content does not exist” I’ve already

Advertisement