SimformSolutionsPvtLtd / react-native-story-view

A React Native component to show image and video stories ✨ 🎖
MIT License
230 stars 30 forks source link

Could not find com.danikula:videocache:2.7.1. #96

Closed Skvitthani closed 5 months ago

Skvitthani commented 6 months ago

I'm getting the below issue in Android using react-native-video-cache-control. I've mentioned my package.json file.

Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find com.danikula:videocache:2.7.1. Searched in the following locations:

Possible solution:

chsdwn commented 6 months ago

Add the following line to the dependencies block inside your project's android/app/build.gradle file: implementation 'com.danikula:videocache:2.7.1'. For more information just follow the installation steps carefully. https://github.com/SimformSolutionsPvtLtd/react-native-story-view?tab=readme-ov-file#android-cache-control-dependency-mandatory

Example link: https://github.com/SimformSolutionsPvtLtd/react-native-story-view/blob/main/example/android/app/build.gradle#L232

Skvitthani commented 5 months ago

It's Working, Thank you