File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
firebase-database/src/main/java/com/google/firebase/database/core/utilities Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,20 @@ public static String messageForException(Throwable t) {
128
128
+ "https://firebase.google.com/docs/database/ios/structure-data#best_practices_for_data_structure"
129
129
+ " and "
130
130
+ "https://firebase.google.com/docs/database/android/retrieve-data#filtering_data" ;
131
+ } else if (t instanceof NoClassDefFoundError ) {
132
+ return "A symbol that the Firebase Database SDK depends on failed to load. This usually "
133
+ + "indicates that your project includes an incompatible version of another Firebase "
134
+ + "dependency. If updating your dependencies to the latest version does not resolve "
135
+ + "this issue, please file a report at https://github.com/firebase/firebase-android-sdk" ;
131
136
} else if (t instanceof DatabaseException ) {
132
137
// Exception should be self-explanatory and they shouldn't contact support.
133
138
return "" ;
134
139
} else {
135
140
return "Uncaught exception in Firebase Database runloop ("
136
141
+ FirebaseDatabase .getSdkVersion ()
137
- +
"). Please report to [email protected] " ;
142
+ + "). If you are not already on the latest version of the Firebase SDKs, try updating "
143
+ + "your dependencies. Should this problem persist, please file a report at "
144
+ + "https://github.com/firebase/firebase-android-sdk" ;
138
145
}
139
146
}
140
147
}
You can’t perform that action at this time.
0 commit comments