eneim / toro

Video list auto playback made simple, specially built for RecyclerView
Apache License 2.0
1.42k stars 253 forks source link

Gradle configuration issue | Android studio #96

Open AndroidTechvalens opened 8 years ago

AndroidTechvalens commented 8 years ago

Hello Great Developer,

I am just trying to implement video player in Recycler view, but i am not able to configure the gradle of Toro.

Here is my code -


    // Choose the suitable one
// 1. Only use Toro
    compile "im.ene.lab:toro:2.0.0-SNAPSHOT"
// 2. Or use custom player widgets, backed by ExoPlayer
    compile "im.ene.lab:toro-player:2.0.0-SNAPSHOT"
// 3. Or even want to try some customized extensions for ease
    compile "im.ene.lab:toro-ext:2.0.0-SNAPSHOT"

    compile 'com.github.eneim:Toro:1.2.0'

With above Gradle, i am getting this error -


Error:Execution failed for task ':app:processDebugResources'.
> Error: more than one library with package name 'im.ene.lab.toro'
eneim commented 8 years ago

@AndroidTechvalens Thanks. Please use v2 or v1 only, don't mix them up. Try to remove compile 'com.github.eneim:Toro:1.2.0' first and see if it works.

eneim commented 8 years ago

Currently just use compile "im.ene.lab:toro-ext:2.0.0-SNAPSHOT" will include everything from Toro. You don't need the 1. and 2.