Describe what happens when you encounter this issue.
Do not compile
> Task :app:transformClassesWithDexBuilderForDebug FAILED
com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/gordon/.gradle/caches/transforms-1/files-1.1/exoplayer-ui-2.9.3.aar/8fb4d898da604795bb8dea26604b7e84/jars/classes.jar
A 1, 2, 3, etc. list of what's needed to see the issue happen.
react-native init myProjectcd myProject At this point react-native run-android works properlyyarn add react-native-videoreact-native link react-native-video Now the project won't even compile with react-native run-androidDescribe what you wanted to happen
Do not suck
Which player are you experiencing the problem on:
React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 33.14 MB / 16.00 GB
Shell: 4.4.23 - /usr/local/bin/bash
Binaries:
Node: 11.5.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.7.0 - ~/.npm-packages/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-24 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5264788
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.4 => 0.58.4
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
OK. I missed something in the README.md https://github.com/react-native-community/react-native-video#exoplayer-290-java-18-requirement
However I really home we move this up to the top of the document
Most helpful comment
OK. I missed something in the README.md https://github.com/react-native-community/react-native-video#exoplayer-290-java-18-requirement
However I really home we move this up to the top of the document