安装ui-kitten后,react-native应用程序无法启动

时间:2020-05-21 23:30:35

标签: android react-native react-native-ui-kitten

我想在现有代码库中安装ui-kitten。因此,我运行

npm i @ui-kitten/components @eva-design/eva react-native-svg
npm start -- --reset-cache

当我执行以下命令时,我希望该应用程序可以在我的模拟器上运行。

npx react-native run-android

相反,出现以下错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 
     The number of method references in a .dex file cannot exceed 64K.
     Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

欢呼

0 个答案:

没有答案
相关问题