app:transformDexArchiveWithExternalLibsDexMergerForDebug失败

时间:2019-06-18 09:38:19

标签: react-native

我睡得很好,但是今天当我尝试运行react-native run-android时遇到了这个错误。我不知道是什么导致了更改,因为从那时到现在我什么都没有更改。

让我知道是否需要更多信息。

编辑:我应该扫描哪些文件以查找重复项?

D8: Program type already present: androidx.versionedparcelable.ParcelImpl

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
  Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
  Program type already present: androidx.versionedparcelable.ParcelImpl

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s

0 个答案:

没有答案
相关问题