Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"android.support.v4.content.FileProvider" should be "androidx.core.content.FileProvider"[AndroidX dependency] #13

Open
TylerIlunga opened this issue Nov 16, 2019 · 3 comments

Comments

@TylerIlunga
Copy link

I ran into errors when following the instructions using class "android.support.v4.content.FileProvider"

If anyone else is facing this issue, I was able to solve this problem by referring to https://stackoverflow.com/questions/54914229/unresolved-class-fileprovider

@MadaShindeInai
Copy link

and add xmlns:tools="http://schemas.android.com/tools" in manifest

@dmlux
Copy link

dmlux commented Jan 30, 2021

This seems to be also an issue when releasing the app using Fastlane. The Java sources referencing android.support.v4. When building locally the Jettifier resolves this issue on the fly but for some reason this does not happen during fastlane deployment. I was able to overcome the problem by running the app locally on emulator which involves jettifier to solve the issue. Afterwards I could deploy the App using Fastlane. I think it would be great if this module moves over to AndroidX by default to prevent such issues to appear anymore.

@ebrahimhassan121
Copy link

you just need install jetifier in dev dependancies and add this script in package.json scripts "postinstall": "jetify"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants