Skip to content
Advertisement

Tag: firebase

how do I fix my flutter app not building with cloud firestore?

So I am new to flutter and firebase and I wanted to add firestore capabilities to my app, but when I tried to use firestore I got an error The plugin cloud_firestore requires a higher Android SDK version. │ │ Fix this issue by adding the following to the file │ │ C:UsersJaffStudioProjectspriv_chatandroidappbuild.gradle: After fixing the SDK version, then I

Android NullPointer Attempt to invoke virtual method ‘boolean java.util.ArrayList.add(java.lang.Object)’ on a null object reference

I’m getting this error: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.util.ArrayList.add(java.lang.Object)’ on a null object reference and just to make it clear is that I know others with the same issue have asked the same question and I have read the solutions which are usually that you have to instantiate your ArrayList which however I am obviously doing but

Read Firestore Data in Android Java

i am working on android application and i am trying to read data from the firestore. One of the key contains further object data which i want to read. i was able to read the data for purchases but purchases has further array data with contains products keys. i am unable to read that. i want a simple solution, no

Database URL do not match

I’m trying to send user’s data to Realtime Database in SignUpActivity in my project. For that I created a database reference and copied the url that is written in my Realtime Database with the following code: However, when launching the app I get Fatal exception stating the following: 2022-06-21 14:50:24.921 8323-8323/com.dinocodeacademy.maingoquizagain E/AndroidRuntime: FATAL EXCEPTION: main Process: com.dinocodeacademy.maingoquizagain, PID: 8323 java.lang.RuntimeException:

Advertisement