https://github.com/florent37/MaterialViewPager
이뻐서 사용해보고 싶은데 도통 사용 방법을 모르겟습니다...
인터넷에 나오는 모든 방법은 다 시도해 본거 같은데 오류만뜨고 실행이 안됩니다.
compile 'com.github.florent37:materialviewpager:1.2.1'
//dependencies
compile 'com.flaviofaria:kenburnsview:1.0.7'
compile 'com.jpardogo.materialtabstrip:library:1.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
ImportModule 한다음에 위의 내용을 bulid.Gradle(Module:app)의 dependencies부분에 붙여넣기 하였는데
그래도 오류가 뜹니다.
오류내용은 Error:(2, 0) Plugin with id 'com.github.ben-manes.versions' not found. 입니다.
해당 내용을 검색해보니 classpath 'com.github.ben-manes:gradle-versions-plugin:0.7' 를
입력하라 하여 입력했더니 이번엔
Error:(5, 0) Could not get unknown property 'sdk' for project ':materialviewpager' of type org.gradle.api.Project.
와 같은 오류가 뜹니다.... 어떻게 해야하나요???
아무리 검색해도 답이 안나와서 답답합니다.
대부분의 글이 ImportProject 하면 짜잔! 실행됩니다. 이런 내용이거나
ImportModule 한다음에 ProjectStructure에서 라이브러리 등록하면 됩니다! 이런 내용인데
애초에 ImportModule로 추가를 해도 에러가 뜨면서 모듈로 추가가 안되버리니 미치겟네요;;