Bug
While building the app, Android build fails because it can't find com.yqritc:android-scalablevideoview library, probably because jcenter is no longer available.
As a temporary solution, I had to patch node_modules/react-native-video/android/build.gradle and replace implementation 'com.yqritc:android-scalablevideoview:1.0.4' with implementation 'com.github.thang2162:Android-ScalableVideoView:v1.1.1'
Platform
Environment info
React native info output:
System:
OS: macOS 12.6.5
CPU: (10) x64 Apple M1 Pro
Memory: 31.40 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
Watchman: 2023.03.06.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /Users/korzuyx/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 25, 28, 29, 30, 31, 32, 33
Build Tools: 28.0.3, 29.0.2, 30.0.0, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.2
System Images: android-28 | Google ARM64-V8a Play ARM 64 v8a, android-29 | Google APIs ARM 64 v8a, android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-30 | Google Play Intel x86 Atom, android-31 | Google APIs ARM 64 v8a, android-31 | Google APIs Intel x86_64 Atom, android-33 | Google APIs ARM 64 v8a, android-33 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.19 - /usr/bin/javac
Library version: 5.1.1
Steps To Reproduce
Build Android app
Expected behaviour
Android app builds without any issues
Bug
While building the app, Android build fails because it can't find com.yqritc:android-scalablevideoview library, probably because jcenter is no longer available.
As a temporary solution, I had to patch node_modules/react-native-video/android/build.gradle and replace implementation 'com.yqritc:android-scalablevideoview:1.0.4' with implementation 'com.github.thang2162:Android-ScalableVideoView:v1.1.1'
Platform
Environment info
React native info output:
System: OS: macOS 12.6.5 CPU: (10) x64 Apple M1 Pro Memory: 31.40 MB / 32.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm Watchman: 2023.03.06.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.1 - /Users/korzuyx/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 25, 28, 29, 30, 31, 32, 33 Build Tools: 28.0.3, 29.0.2, 30.0.0, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.2 System Images: android-28 | Google ARM64-V8a Play ARM 64 v8a, android-29 | Google APIs ARM 64 v8a, android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-30 | Google Play Intel x86 Atom, android-31 | Google APIs ARM 64 v8a, android-31 | Google APIs Intel x86_64 Atom, android-33 | Google APIs ARM 64 v8a, android-33 | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.10121639 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.19 - /usr/bin/javacLibrary version: 5.1.1
Steps To Reproduce
Build Android app
Expected behaviour
Android app builds without any issues