Unity with Firebase9.1.0. Unable to find FirebaseCppApp-9_1_0 - firebase

The construction is successful, but an error is reported when the Android phone is running.
Unable to find FirebaseCppApp-9_1_0
DllNotFoundException: Unable to load DLL 'FirebaseCppApp-9_1_0': The specified module could not be 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,
To adapt to Android 12, I upgraded FirebaseSDK(messaging create a crash).
I performed force resolve,and it works. I copied aars to my project.I got the above error when I ran it on android phone.
anyone can help me ?

Related

JavaFX not running error Module javafx.controls not found

after following the proccedure under Non-Moduler from IDE and running the programe, i am getting the error-
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
after installing JavaFX I was expecting the programe to rum without error however, I got-
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
I was trying to set up JavaFX in my eclipse IDE. On my run configuration, I specified the VM path as provided documentation at openjfx.io. I changed the path under argument to "--module-path "C:\Java\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml" I still got the error JavaFX not running error Module javafx.controls not found. But I figured out the problem was I did not specify the path in the Preference under JavaFX / JavaFX11+SDK to C:\Java\javafx-sdk-19\lib
in Eclipse Go To windows/preference/JavaFx/JavaFX11+SDK

Project raised exception class EFilerError with message 'A class named TdxPNGImage already exists'

I have upgraded my environment from Embarcadero Berlin to Alexandria. After the upgrade, when I am running one of my project, I am getting multiple runtime errors:
A class named TdxPNGImage already exists
A class named TdxSmartImage already exists
and similar errors.
I have found that this error is coming from one of the DLLs that my project is using.
Can anyone please suggest how to fix this issue?

Exception in thread "Build Event Notification" java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext

I want to build an app with Ionic V3 for Android but I have an issue when I build it on release.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugResources'.
java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
Exception in thread "Build Event Notification" java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.security.Provider$Service.getImplClass(Provider.java:1728)
at java.security.Provider$Service.newInstance(Provider.java:1686)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
at com.crashlytics.reloc.org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:51)
at com.crashlytics.reloc.org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966)
at com.crashlytics.reloc.org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:56)
at com.crashlytics.api.net.proxy.ProxySettings.getClientFor(ProxySettings.java:56)
at com.crashlytics.api.RestfulWebApi.notifyBuildEvent(RestfulWebApi.java:1438)
at com.crashlytics.api.RestfulWebApi.access$100(RestfulWebApi.java:74)
at com.crashlytics.api.RestfulWebApi$10.run(RestfulWebApi.java:1371)
at java.lang.Thread.run(Thread.java:748)
It seems to be caused by Crashlytics (which I don't even use) which is integrated within this package https://github.com/dpa99c/cordova-plugin-firebasex.
When I build the app in debug mode, I still have the exception but the build proceed until the end and I still can run it on my phone.
How can I prevent this issue ? Is there anyway to disable entirely Crashlytics so I don't have this exception anymore ?
Thanks
Ok, so it was all because of the JDK version. I ended up updating the JDK and everything worked perfectly.

Flutter firebase integration getting error: Failed to turn object into JSON

All of the sudden I am getting the following error when doing any firebase interaction (auth or firestore) in my flutter Android app.
E/StorageHelpers(15925): Failed to turn object into JSON
E/StorageHelpers(15925): java.lang.NullPointerException: Attempt to invoke virtual method 'org.json.JSONObject com.google.firebase.auth.internal.zzm.zzbf()' on a null object reference
E/StorageHelpers(15925): at com.google.firebase.auth.internal.zzz.zzi(Unknown Source:126)
E/StorageHelpers(15925): at com.google.firebase.auth.internal.zzz.zzg(Unknown Source:3)
E/StorageHelpers(15925): at com.google.firebase.auth.FirebaseAuth.zza(Unknown Source:28)
E/StorageHelpers(15925): at com.google.firebase.auth.zzm.zza(Unknown Source:3)
E/StorageHelpers(15925): at com.google.firebase.auth.api.internal.zzaw.zzaa(Unknown Source:27)
E/StorageHelpers(15925): at com.google.firebase.auth.api.internal.zzcy.zzal(Unknown Source:0)
E/StorageHelpers(15925): at com.google.firebase.auth.api.internal.zzcy.zza(Unknown Source:0)
E/StorageHelpers(15925): at com.google.firebase.auth.api.internal.zzdb.zzb(Unknown Source:42)
E/StorageHelpers(15925): at com.google.firebase.auth.api.internal.zzci.dispatchTransaction(Unknown Source:13)
E/StorageHelpers(15925): at com.google.android.gms.internal.firebase_auth.zzb.onTransact(Unknown Source:22)
E/StorageHelpers(15925): at android.os.Binder.execTransact(Binder.java:697
)
Here are my firebase dependencies:
firebase_auth: "^0.5.3"
cloud_firestore: "^0.7.0+2"
Similar unresolved questions:
https://github.com/invertase/react-native-firebase/issues/1068
Failed to turn object into JSON
I just faced the same problem as yours, I think that's the latest update of Firebase cause this.
In the beginning, I tried to do [Build] > [Clean Project], and [File] > [Invalidate caches/Restart] in Android Studio, but still not working, and this error still occurred.
Finally I fixed this, when I removed the app on my device, and re-install, now everything works fine.
Here's the version I use in my gradle file:
com.google.firebase:firebase-auth:15.1.0
com.google.firebase:firebase-firestore:16.0.0
Hope this can help.

Getting error while deploying WAR file

I am getting below error while deploying war file .Here JDK version on development machine and deployment machines is same then also i am getting this error.
[05/Jun/2013:11:20:42] failure ( 5712): WebModule[/cover]: WEB2671: Error configuring application listener of class com.bt.cover.ContextListener
java.lang.UnsupportedClassVersionError: com/bt/cover/ContextListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3349)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3743)
at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
Based on this answer: Unsupported major.minor version 49.0, it looks like you may be running on a different JVM from what you used to compile your code. Hope this helps.

Resources