完成official v2 documentation中的所有步骤后,我收到以下错误:
$ cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug
> Configure project :react-native-navigation
downloadRobolectricDependencies into /Users/michaljarnot/IdeaProjects/react-native-redux-wix-navigation/android/build/robolectric-3.5.1-dependencies
> Task :react-native-navigation:compileReactNative56DebugJavaWithJavac
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
这是官方文档的最小实现:
-
步骤:跳过
-
更新
package.json
https://github.com/developer239/react-native-redux-wix-navigation/pull/3/commits/79e555cba30d83a1dad251621dcbd6d2673980b0 -
降级至
react-native@0.56.0
https://github.com/developer239/react-native-redux-wix-navigation/pull/3/commits/a4e5fcdd7fcdb8d56450e6eb915995865b4fd23b
任何拥有 android
知识的人都可以指出我正确的方向吗?
这是GitHub上的问题链接:https://github.com/wix/react-native-navigation/issues/3974