firebase / firebase-unity-sdk

The Firebase SDK for Unity
http://firebase.google.com
Apache License 2.0
234 stars 38 forks source link

[Question] DllNotFoundException Error When Building for Android with Firebase Unity SDK: Missing FirebaseCppApp-12_4_1 #1152

Open Denisedkidu opened 2 days ago

Denisedkidu commented 2 days ago

What is your question?

Hello! I've encountered an issue with a missing library FirebaseCppApp-12_4_1 when trying to build a project for Android. The error message I get is as follows:

DllNotFoundException: Unable to load DLL 'FirebaseCppApp-12_4_1'. Tried to load the following dynamic libraries: Unable to load dynamic library 'FirebaseCppApp-12_4_1' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "FirebaseCppApp-12_4_1" not found at Firebase.AppUtilPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_AppUtil

I am using Firebase Unity SDK to integrate various Firebase features into my app, but this error occurs during the Android build process. ошибка3

I have installed all necessary Firebase Unity SDK components, including Auth, Firestore, and Crashlytics. However, when building the Android app in Unity, I receive a DllNotFoundException indicating that FirebaseCppApp-12_4_1 is missing.

Firebase Unity SDK Version

12.4.1

Unity editor version

2022.3.35f1

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

Analytics, App Check, Authentication, Crashlytics, Firestore

Other Firebase Component(s) in use

Analytics, App Check, Authentication, Crashlytics, Firestore

Additional SDKs you are using

no

Targeted Platform(s)

Android

Unity editor platform

Windows

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

google-oss-bot commented 2 days ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Denisedkidu commented 2 days ago

solved

ahmedbenf commented 2 days ago

Hi @Denisedkidu , i struggle with this error for a week. can you tell me how do you solve it please ?? i use unity version 2022.3.52f1 on linux system (ubuntu) the platform is android

rotolonico commented 1 day ago

I am having the same issue, i'm on Mac Unity 2022.3.43f1