android - getting issues while adding other gradle project as library -
actually have been trying import gradle project library github , know there 2 ways that
1)by adding url dependencies in build.gradle file method gave lot of errors
2)manually download library , import module, add dependencies
and somehow succeeded using second method ..
after gradle sync worked correctly while running application gives bizzare errors like
error:(23, 0) gradle dsl method not found: 'ompile()' possible causes:
and github link follows
https://github.com/paolorotolo/appintro
i imported folder called library in that....
you can add library in many ways:
- add simple dependency in
build.gradle
file
just use:
dependencies { compile 'com.github.paolorotolo:appintro:3.4.0' }
- use jitpack plugin
just add repo build.gradle
repositories { // ... maven { url "https://jitpack.io" } }
and dependency:
dependencies { compile 'com.github.user:repo:tag' }
- download module (the library folder) locally.
Comments
Post a Comment