Skip to content

Conversation

leotm
Copy link
Owner

@leotm leotm commented Dec 21, 2022

Screenshot 2022-12-20 at 12 26 29

Removed until rdy2go (details: #1133)

    "react-native-gesture-handler": "2.8.0",
    "react-native-reanimated": "3.0.0-rc.8",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "3.18.2"

Issues

PRs


Locally: JDK 19 + Gradle 7.6 + RN CLI ✅ Gradle Wrapper ❌
CI: JDK 18 + Gradle 7.6 + Gradle Wrapper ❌

* What went wrong:
Execution failed for task ':app:mergeDexRelease'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
   > There was a failure while executing work items
      > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction
         > 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.
           Type com.facebook.react.viewmanagers.ActivityIndicatorViewManagerInterface is defined multiple times: /home/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/android/app/build/intermediates/project_dex_archive/release/out/com/facebook/react/viewmanagers/ActivityIndicatorViewManagerInterface.dex, /home/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/android/app/build/intermediates/external_libs_dex/release/mergeExtDexRelease/classes.dex

Local (left) CI (right)

Screenshot 2022-12-21 at 15 05 31

nb

C/C++: CMake Warning at /usr/local/lib/android/sdk/ndk/<23/25>/build/cmake/android-legacy.toolchain.cmake:415 (message):
C/C++:   An old version of CMake is being used that cannot automatically detect
C/C++:   compiler attributes.  Compiler identification is being bypassed.  Some
C/C++:   values may be wrong or missing.  Update to CMake 3.19 or newer to use
C/C++:   CMake's built-in compiler identification.

nb: gradle-7.5.1 only officially supports Java 18

...

fixed cause in 442fb86 affecting

    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-community/checkbox": "0.5.14",
    "@react-native-community/datetimepicker": "6.3.5",
    "@react-native-community/slider": "4.4.0",

also then affected by JDK 18/19 +/- Gradle 7.5.1/7.6

@leotm leotm added this to the React Native 0.71 milestone Dec 21, 2022
@leotm leotm added deps Normal dependencies needed at runtime react native react-native-community.github.io/upgrade-helper priority: high labels Dec 21, 2022
@leotm leotm marked this pull request as ready for review December 21, 2022 14:26
@leotm leotm force-pushed the react-native-upgrade-from-0.70.6-to-0.71.0-rc.5 branch from 646f6ef to 6c6791f Compare December 22, 2022 11:29
* What went wrong:
Execution failed for task ':app:mergeDexRelease'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
   > There was a failure while executing work items
      > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction
         > 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.
           Type com.facebook.react.viewmanagers.ActivityIndicatorViewManagerInterface is defined multiple times: /home/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/android/app/build/intermediates/project_dex_archive/release/out/com/facebook/react/viewmanagers/ActivityIndicatorViewManagerInterface.dex, /home/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/android/app/build/intermediates/external_libs_dex/release/mergeExtDexRelease/classes.dex
@leotm leotm merged commit ba64ece into master Dec 22, 2022
@leotm leotm deleted the react-native-upgrade-from-0.70.6-to-0.71.0-rc.5 branch December 22, 2022 15:17
@leotm leotm mentioned this pull request Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deps Normal dependencies needed at runtime priority: high react native react-native-community.github.io/upgrade-helper

Projects

None yet

1 participant