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




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to