Message:
Hello,
I'm testing the official B4A Firebase Push example without any code changes.
Environment:
The project compiles successfully, installs successfully, but crashes immediately on startup before any B4A code is executed (Activity_Create / Service_Create are never reached).
Logcat:
FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: Failed resolution of:
Lcom/google/firebase/components/Qualified;
at com.google.firebase.datatransport.TransportRegistrar.getComponents(...)
at com.google.firebase.components.ComponentRuntime...
at com.google.firebase.FirebaseApp.initializeApp(...)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(...)
Caused by:
java.lang.ClassNotFoundException:
Didn't find class
"com.google.firebase.components.Qualified"
The google-services.json package name matches the application package.
I also tried:
The result is always the same.
Any idea why com.google.firebase.components.Qualified is missing?
Thank you.
Hello,
I'm testing the official B4A Firebase Push example without any code changes.
Environment:
- B4A 13.50
- Java 11
- Android SDK 35
- Samsung S20
- Android 13
The project compiles successfully, installs successfully, but crashes immediately on startup before any B4A code is executed (Activity_Create / Service_Create are never reached).
Logcat:
FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: Failed resolution of:
Lcom/google/firebase/components/Qualified;
at com.google.firebase.datatransport.TransportRegistrar.getComponents(...)
at com.google.firebase.components.ComponentRuntime...
at com.google.firebase.FirebaseApp.initializeApp(...)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(...)
Caused by:
java.lang.ClassNotFoundException:
Didn't find class
"com.google.firebase.components.Qualified"
The google-services.json package name matches the application package.
I also tried:
- Fresh B4A installation.
- Downloaded all libraries again with B4X SDK Manager.
- Java 11.
- Android SDK 35.
- Official example without modifications.
The result is always the same.
Any idea why com.google.firebase.components.Qualified is missing?
Thank you.