6

I can stream video url using vitamio in eclipse, but recently I have switched to android studio and I want to add vitamio library as a dependency in the gradle file. How can I do it?

Reyjohn
  • 2,654
  • 9
  • 37
  • 63

2 Answers2

14

add

dependencies {
compile 'me.neavo:vitamio:4.2.2'
} 

in build.gradle of module

Suhail Mehta
  • 5,514
  • 2
  • 23
  • 37
0

First, add gradle dependency and repository to the build.gradle

repositories { maven { url
'https://mvnrepository.com/artifact/me.neavo/vitamio' } }

Under the repository add dependency as follows:

dependencies {
    compile group: 'me.neavo', name: 'vitamio', version: '4.2.2'
}

Then sync the Project

FelixSFD
  • 6,052
  • 10
  • 43
  • 117
Liya
  • 568
  • 7
  • 28