Closed yogev2255 closed 1 year ago
Hi @yogev2255,
Thanks for reporting this. An issue like this usually means that the Android libraries did not get resolved correctly. Could you confirm if going to Assets > External Dependency Manager > Android Resolver > Force Resolve makes any difference? You could also try reimporting the SDK.
I look forward to your results.
Hey thank you, After a few tests i updated to 10.3.0 and I did the resolve thing and it worked
בתאריך יום ו׳, 16 בדצמ׳ 2022 ב-11:14 מאת paulinon < @.***>:
Hi @yogev2255 https://github.com/yogev2255,
Thanks for reporting this. An issue like this usually means that the Android libraries did not get resolved correctly. Could you confirm if going to Assets > External Dependency Manager > Android Resolver > Force Resolve makes any difference? You could also try reimporting the SDK.
I look forward to your results.
— Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-unity-sdk/issues/577#issuecomment-1354427991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAOYYEFYIHFFC27KRFHQ23WNQXH5ANCNFSM6AAAAAATAHQ4TI . You are receiving this because you were mentioned.Message ID: @.***>
Glad to hear this, @yogev2255. I'll be closing this for now. Let me know if an issue arises.
I m still facing this problem ... also have tried "Force Resolve" , but still same error
DLL 'FirebaseCppApp-10_3_0
please help
Same problem here -- and it happens in a sample project!
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
On the editor its working fine but on the android build I am getting DllNotFoundException: Unable to load DLL 'FirebaseCppApp-10_2_0'
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
1.I imported the firebase database SDK 2.created a script and then on start I got the FirebaseDatabase.DefaultInstance.RootReference when the button is clicked
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
When I get or probably use any firebase function I get DllNotFoundException: Unable to load DLL 'FirebaseCppApp-10_2_0'
The exception full log :
AndroidPlayer "samsung_SM-G988N" DllNotFoundException: Unable to load DLL 'FirebaseCppApp-10_2_0'. Tried the load the following dynamic libraries: Unable to load dynamic library 'FirebaseCppApp-10_2_0' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "FirebaseCppApp-10_2_0" not found at Firebase.AppUtilPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_AppUtil (Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate applicationDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate arithmeticDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate divideByZeroDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate indexOutOfRangeDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidCastDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidOperationDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate ioDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate nullReferenceDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate outOfMemoryDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate overflowDelegate, Firebase.AppUtilPINVOKE+SWIGExceptionHelper+ExceptionDelegate systemExceptionDelegate) [0x00000] in <00000000000000000000000000000000>:0 at Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.AppUtilPINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..ctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.FirebaseApp..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.Database.FirebaseDatabase.get_DefaultInstance () [0x00000] in <00000000000000000000000000000000>:0 at MultiPlayerMenu.Start () [0x00000] in <00000000000000000000000000000000>:0 Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE.SWIGExceptionHelper' threw an exception. at Firebase.AppUtilPINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..ctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.FirebaseApp..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.Database.FirebaseDatabase.get_DefaultInstance () [0x00000] in <00000000000000000000000000000000>:0 at MultiPlayerMenu.Start () [0x00000] in <00000000000000000000000000000000>:0 Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception. at Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..ctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.LogUtil..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.FirebaseApp..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.Database.FirebaseDatabase.get_DefaultInstance () [0x00000] in <00000000000000000000000000000000>:0 at MultiPlayerMenu.Start () [0x00000] in <00000000000000000000000000000000>:0 Rethrow as TypeInitializationException: The type initializer for 'Firebase.LogUtil' threw an exception. at Firebase.FirebaseApp..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Firebase.Database.FirebaseDatabase.get_DefaultInstance () [0x00000] in <00000000000000000000000000000000>:0 at MultiPlayerMenu.Start () [0x00000] in <00000000000000000000000000000000>:0 Rethrow as TypeInitializationException: The type initializer for 'Firebase.FirebaseApp' threw an exception. at Firebase.Database.FirebaseDatabase.get_DefaultInstance () [0x00000] in <00000000000000000000000000000000>:0 at MultiPlayerMenu.Start () [0x00000] in <00000000000000000000000000000000>:0
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Relevant Code: