From: Mark P. <mc....@gm...> - 2015-03-03 08:05:14
|
On 02-03-15 18:37, Will Bendick wrote: > Hi Mark, > > I tried this but it is still failing to build with the same error. I > have this in my build.gradle: > > dependencies { > compile fileTree(include: '*.jar', dir: 'libs') > compile 'org.geotools:gt-geojson:12.2' > compile 'com.google.android.gms:play-services:+' > compile 'com.android.support:appcompat-v7:21.0.3' > compile 'com.github.erd:android-volley:1.0.0' > compile 'com.vividsolutions:jts:1.13' > } > > and the library is in place from the link you specified: > > ls app/libs/ > > jai_codec.jarjai_core.jar > > > It still tries to find it on the web though: > > Any ideas? not really a gradle user so I'm in the dark here. w/ maven to do this kind of thing (loading libs from outside the repository) you would have to override the dependency with a system scope I think. I you just want to have geojson parsing capabilities in android I'd probably look out for something else (eg. https://github.com/thedatachef/java-geojson) or roll your own. The SPI stuff will cause some extra work as well. Mark |