firebase / firebase/firebase-cpp-sdk
Crash on Android build in Unreal Engine 4.27
- Lenguaje dominante
- C++
- Estrellas
- 326
- Forks
- 137
- Merge medio
- 3 d 9 h
- PR fusionados (30 d)
- 5
Descripción
### [REQUIRED] Please fill in the following fields:
* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) or open-source from this repo: prebuilt from this repo on Release page
* Firebase C++ SDK version: 11.8.0
* Main Firebase Components in concern: App and Analytics
* Other Firebase Components in use: N/A
* Platform you are using the C++ SDK on: Windows with Unreal Engine 4.27, build against Android
* Platform you are targeting: Android
### [REQUIRED] Please describe the question here:
I was able to configure, build and run it successfully forWindows (at least enough to open the UE Editor and compile everything) and for iOS.
However, for Android, although the build and packaging were successful, I’m experiencing crashes with the following log:
```
10-30 03:35:26.449 15366 15366 F DEBUG : #01 pc 000000000ee04550 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #02 pc 000000000ee04610 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogMessageWithCallbackV(firebase::LogLevel, char const*, std::__va_list)+188) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #03 pc 000000000ee04994 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogAssert(char const*, ...)+124) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #04 pc 000000000ee17724 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::util::LookupMethodIds(_JNIEnv*, _jclass*, firebase::util::MethodNameSignature const*, unsigned long, _jmethodID**, char const*)+436) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #05 pc 000000000ee665f4 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::analytics::Initialize(firebase::App const&)+224) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #06 pc 00000000086faac8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitAnalytics()+60) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #07 pc 00000000086fa690 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitializeFirebaseComponents()+72) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #08 pc 0000000009e3c77c /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&)+2408) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #09 pc 000000000a098054 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray > const&, TMap >&)+468) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #10 pc 000000000a0ab1d8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const+104) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #11 pc 000000000a0ad248 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)+1044) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #12 pc 00000000086c4300 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::LoadStartupModules()+320) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #13 pc 00000000086c1b08 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInitPostStartupScreen(char16_t const*)+9420) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #14 pc 00000000086a5804 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInit(int, char16_t**, char16_t const*)+100) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #15 pc 00000000086a5310 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (AndroidMain(android_app*)+3424) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #16 pc 00000000086b50f8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (android_main+164) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #17 pc 00000000086e45bc /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
```
Could anyone help me investigate this or give me any clues as to what it might be? I currently don’t have any leads on the cause.
Thank you.
Guía de contribución
Línea de trabajo
Start by reproducing the Android package with Firebase C++ SDK 11.8.0, Unreal Engine 4.27, and App plus Analytics enabled, then inspect the crash around firebase::analytics::Initialize, FFirebaseFeaturesModule::InitAnalytics, and firebase::util::LookupMethodIds in the provided stack trace. Done means the Android build starts without this initialization crash and the relevant logs identify the cause or required configuration.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, cpp, unreal-engine
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100