Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure project :expo-av More than one React Native AAR file has been found: #18117

Closed
zhiqingchen opened this issue Jul 6, 2022 · 11 comments
Labels
needs validation Issue needs to be validated

Comments

@zhiqingchen
Copy link

Summary

When I upgrade React Native to 0.69, android compilation does not pass

> Configure project :expo-av
More than one React Native AAR file has been found:
/home/runner/work/taro-native-shell/taro-native-shell/node_modules/react-native/android/com/facebook/react/react-native/0.69.1/react-native-0.69.1-release.aar
/home/runner/work/taro-native-shell/taro-native-shell/node_modules/react-native/android/com/facebook/react/react-native/0.69.1/react-native-0.69.1-debug.aar
/home/runner/work/taro-native-shell/taro-native-shell/node_modules/react-native/android/com/facebook/react/hermes-engine/0.69.1/hermes-engine-0.69.1-release.aar
/home/runner/work/taro-native-shell/taro-native-shell/node_modules/react-native/android/com/facebook/react/hermes-engine/0.69.1/hermes-engine-0.69.1-debug.aar
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

Android

SDK Version (managed workflow only)

45

Environment

  expo-env-info 1.0.4 environment info:
    System:
      OS: macOS 12.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.10.0 - /usr/local/bin/node
      Yarn: 1.22.11 - ~/.nvm/versions/node/v16.10.0/bin/yarn
      npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
      Watchman: 4.9.0 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.11.2 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
      Android SDK:
        API Levels: 28, 29, 30, 31
        Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0
        System Images: android-30 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 2021.2 AI-212.5712.43.2112.8512546
      Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
    npmPackages:
      expo: ~45.0.2 => 45.0.2
      react: 18.0.0 => 18.0.0
      react-native: 0.69.1 => 0.69.1
    npmGlobalPackages:
      expo-cli: 5.4.3
    Expo Workflow: bare

Reproducible demo

source code

https://github.com/NervJS/taro-native-shell/tree/0.69.0

build action

https://github.com/NervJS/taro-native-shell/runs/7125396598?check_suite_focus=true

@zhiqingchen zhiqingchen added the needs validation Issue needs to be validated label Jul 6, 2022
@zhiqingchen
Copy link
Author

#18006

@olawalejuwonm
Copy link

How can this be fixed please?

@zhiqingchen
Copy link
Author

How can this be fixed please?

wait for sdk46

@zhiqingchen
Copy link
Author

227661c

will fix this

@olawalejuwonm
Copy link

When will it be released

I need to publish the app as soon as possible

@zhiqingchen
Copy link
Author

try alpha version like 46.0.0-alpha.3

@zawesh
Copy link

zawesh commented Aug 8, 2022

getting this on 46

@CCB-cerivera
Copy link

Is there any solution to this issue?

@zhiqingchen
Copy link
Author

expo-av@12.0.4

@CCB-cerivera

@jack-sparroow
Copy link

@zhiqingchen Do you know any reason why this issue occurs ?

I am facing this issue with expo-gl-cpp

@zhiqingchen
Copy link
Author

@zhiqingchen Do you know any reason why this issue occurs ?

I am facing this issue with expo-gl-cpp

227661c

see the commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs validation Issue needs to be validated
Projects
None yet
Development

No branches or pull requests

5 participants