我想在现有代码库中安装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
欢呼