Unable to get provider com.google.firebase.provider.FirebaseInitProvider

Hi. When exporting my app to apk, while trying to install it on Android 14, the app installs correctly but at the moment of opening it, it shows the kodular splash screen for a moment and then crashes. What can I do? I need it for school :frowning: I have OneSignalPush free extension on my project. Logcat reports the following errors:


10-11 22:20:14.934  8356  8356 E .APP_BETA: Not starting debugger since process cannot load the jdwp agent.
10-11 22:20:15.004  8356  8356 E cutils-trace: Error opening trace file: No such file or directory (2)
10-11 22:20:15.117  8356  8356 E io.kodular.xxxxxxxxx.App_BETA: Unable to find pattern file or unable to map it for am
10-11 22:20:15.184  8356  8356 E AndroidRuntime: FATAL EXCEPTION: main
10-11 22:20:15.184  8356  8356 E AndroidRuntime: Process: io.kodular.xxxxxxxxx.APP_BETA, PID: 8356
10-11 22:20:15.184  8356  8356 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/~~NDkQAFJqmk0C7DwiEd7Qcg==/io.kodular.xxxxxxxxx.APP_BETA-4v8hHdl5JSTpXrRIPdU8Aw==/base.apk"],nativeLibraryDirectories=[/data/app/~~NDkQAFJqmk0C7DwiEd7Qcg==/io.kodular.xxxxxxxxx.APP_BETA-4v8hHdl5JSTpXrRIPdU8Aw==/lib/arm64, /system/lib64, /system_ext/lib64]]
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.installProvider(ActivityThread.java:7792)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.installContentProviders(ActivityThread.java:7298)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7005)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2243)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:205)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:294)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8199)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at com.android.internal.os.ExecInit.main(ExecInit.java:49)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
10-11 22:20:15.184  8356  8356 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/~~NDkQAFJqmk0C7DwiEd7Qcg==/io.kodular.xxxxxxxxx.APP_BETA-4v8hHdl5JSTpXrRIPdU8Aw==/base.apk"],nativeLibraryDirectories=[/data/app/~~NDkQAFJqmk0C7DwiEd7Qcg==/io.kodular.xxxxxxxxx.APP_BETA-4v8hHdl5JSTpXrRIPdU8Aw==/lib/arm64, /system/lib64, /system_ext/lib64]]
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
10-11 22:20:15.184  8356  8356 E AndroidRuntime:        at android.app.ActivityThread.installProvider(ActivityThread.java:7776)

Have you added deps extension?

Oh, I think that was the problem! Thanks a lot, I’ll try it later in the day :slight_smile: