-
Hello! I've been using the library for 3 or 4 years without any problem, but it ended up in version 18.x 🤣 No matter what I try in my environment I always get this error.
I tried to solve it by trying several things that I found by googling and I always end up at the same point. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
There are lots of things about your environment and versions that are not specified (https://stackoverflow.com/help/how-to-ask) My hunch is an old android toolchain (that is, JDK out of date). I'm currently building everything everywhere with JDK17 and would recommend using that |
Beta Was this translation helpful? Give feedback.
-
I have the environment set up according to React Native recommendations, it's windows and it's all installed with choco.
Java I tried with 11 and 17 and the error persists in both (that's why I have installed both versions with choco). This is the content of android/build.gradle
I will switch back to java 17 and try compiling with android studio to see if the error persists. |
Beta Was this translation helpful? Give feedback.
-
I cloned the repo on the notebook I use when I travel and was able to update and compile correctly. |
Beta Was this translation helpful? Give feedback.
-
the error ONLY occurs when the development build (run-android) is done and the solution was to upgrade the minSdkVersion from 21 to 24 firebase/firebase-android-sdk#5322
|
Beta Was this translation helpful? Give feedback.
-
this solved it for me
|
Beta Was this translation helpful? Give feedback.
the error ONLY occurs when the development build (run-android) is done and the solution was to upgrade the minSdkVersion from 21 to 24
firebase/firebase-android-sdk#5322