Open prasadtodkari opened 4 years ago
Thanks a ton for your reply.... I will follow the same.
thanks again for your project please do let us know you have any website or your subscriptions for the newsletter so we'll follow you on the same.
On Sat, 22 Feb 2020 at 16:08, parrotthead notifications@github.com wrote:
This happens when you are using compile SDK version >=29 . Migrating the project to AndroidX should help. To migrate Right click on scanLibrary then go to Refractor and then click on Migrate to AndroidX. Two changes should show up, click Do Refractor and done. That should fix it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jhansireddy/AndroidScannerDemo/issues/111?email_source=notifications&email_token=ANFA3PGOB6CBIEP2MRB44JDRED6CTA5CNFSM4KBLSQGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMU44EI#issuecomment-589942289, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANFA3PBDZGHE5J37V6C3OILRED6CTANCNFSM4KBLSQGA .
--
Instead of "import android.support.v4.content.FileProvider;" try importing "import androidx.core.content.FileProvider;" in this file "...\scanlibrary\src\main\AndroidManifest.xml"
If this doesn't work. try another solution from below given link: https://stackoverflow.com/questions/48534293/android-support-v4-content-fileprovider-not-found/60573907#60573907
This happens when you are using compile SDK version >=29 . Migrating the project to AndroidX should help. To migrate Right click on scanLibrary then go to Refractor and then click on Migrate to AndroidX. Two changes should show up, click Do Refractor and done. That should fix it.