ReactNative: ERROR: Failed to install the app
ReactNative: ERROR: Failed to install the app
每次我运行这两个命令
yarn add @react-native-firebase/app
yarn add @react-native-firebase/firestore
然后我尝试执行该项目,它给出了一个巨大的错误,最后出现了:
新建项目时我的代码是一样的,不同的是没有那个标准的内容。
我删除了 '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
我已经创建了几个项目,我总是重复相同的文档过程并且总是报这个错误
有人请帮助我,我真的需要解决这个问题
是The number of method references in a .dex file cannot exceed 64K
错误
修改android/app/build.gralde
android {
defaultConfig {
...
multiDexEnabled true -> add this
}
...
}
dependencies {
implementation 'androidx.multidex:multidex:2.0.1' -> add this
}
每次我运行这两个命令
yarn add @react-native-firebase/app
yarn add @react-native-firebase/firestore
然后我尝试执行该项目,它给出了一个巨大的错误,最后出现了:
新建项目时我的代码是一样的,不同的是没有那个标准的内容。 我删除了 '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
我已经创建了几个项目,我总是重复相同的文档过程并且总是报这个错误
有人请帮助我,我真的需要解决这个问题
是The number of method references in a .dex file cannot exceed 64K
错误
修改android/app/build.gralde
android {
defaultConfig {
...
multiDexEnabled true -> add this
}
...
}
dependencies {
implementation 'androidx.multidex:multidex:2.0.1' -> add this
}