mybigday / react-native-media-meta

Get media file metadata in your React Native app
MIT License
83 stars 46 forks source link

Hangs when installing APK #3

Closed juddey closed 7 years ago

juddey commented 7 years ago

This install was working, until about a day ago, when I got:

~/projects/react-native/app$ react-native run-android
Scanning 797 folders for symlinks in /home/justin/projects/react-native/app/node_modules (6ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Reading env from: .env
> Configuring > 3/15 projects > Resolving dependencies ':app:_debugApk' > Resolving dependencies ':react-native-media-meta:_debugPublish

... it just hangs with a blank cursor in the terminal.

emuen commented 7 years ago

I have the same error. When I run-android, I get:

Building and installing the app on the device (cd android && ./gradlew installDebug... Configuring > 5/11 projects > Resolving dependencies ':react-native-media-meta:_debugCompile'

UPDATE:

I got it working by changing the dependency of FFmpegMediaMetadataRetriever in the projects build.gradle to a specific version.

In: node_module -> react-native-media-meta -> android -> build.gradle, I changed

dependencies {
    compile 'com.facebook.react:react-native:+'
    compile 'com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.14'
}

to

dependencies {
    compile 'com.facebook.react:react-native:+'
    compile 'com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.+'
}
JBerendes commented 7 years ago

close as it has been resolved.

deepak-nagdoo commented 6 years ago

i have a same issue but there is no folder named react-native-media-meta .. what should i does to resolve it