Reputation: 199
Every time I run these two commands
yarn add @react-native-firebase/app
yarn add @react-native-firebase/firestore
And then I try to execute the project, it gives a gigantic error and in the end this appears:
My code is the same when you create a new project, the difference is that it doesn't have that standard content. I removed that 'React$Node', deixando o aquela linha assim 'const App = () => {', mas não funciona também. Eu utilizo o expo e já utilizei o cli e nunca vi o App.js estruturado desta maneira
I have already created several projects and I always repeat the same documentation process and always give this error
Someone please help me, I really need to solve this
Upvotes: 1
Views: 187
Reputation: 3636
it is The number of method references in a .dex file cannot exceed 64K
error
modify android/app/build.gralde
android {
defaultConfig {
...
multiDexEnabled true -> add this
}
...
}
dependencies {
implementation 'androidx.multidex:multidex:2.0.1' -> add this
}
Upvotes: 2