- Home /
Android app crash at start because of error "Unable to get provider androidx.core.content.FileProvider"
Upgraded Unity project from 2020.1.6 to 2020.3.4.
.
Builds perfectly but android app crash immediately at start(tested on android 8,10,11) because of error "Unable to get provider androidx.core.content.FileProvider"
App is not even getting to permission phase (photo camera, access to storage).
How do i resolve this problem?
Using in project Vuforia, NatSuite, and my own writen native android *.arr plugins to check android volume.
2021.04.19 17:43:15.849 30635 30635 Error AndroidRuntime java.lang.RuntimeException: **Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file** "/data/app/com.XXXXXX.Cloud-U1zXPF5MA6ugHxftnFgDfQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.XXXXXX.Cloud-U1zXPF5MA6ugHxftnFgDfQ==/lib/arm64, /data/app/com.XXXXXX.Cloud-U1zXPF5MA6ugHxftnFgDfQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
Here is a bit larger log file. https://pastebin.com/SSYesNFR
Answer by ChunkNorris · Jul 10, 2021 at 06:13 AM
Relevant for me too on 2021.1.12f1
2021.07.10 11:06:52.419 10373 10373 Error AndroidRuntime java.lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.herocraft.game.fruitshake.brawlking-1/base.apk"],nativeLibraryDirectories=[/data/app/com.herocraft.game.fruitshake.brawlking-1/lib/arm, /data/app/com.herocraft.game.fruitshake.brawlking-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib, /data/downloads, /data/priv-downloads]]
Your answer
Follow this Question
Related Questions
Why does my apk app crash with the upgraded Unity? 1 Answer
Unity Android app crashes when launched from Facebook Messenger app. 0 Answers
How to permanently set the ID of resources in R.java? 0 Answers
What might cause an Android app to freeze 1 Answer
Can no longer create .apk after Mountain Lion Upgrade 1 Answer