I want to use Geotools in Android Studio but get this error:

Could not resolve org.geotools

This is part of build.gradle

allprojects {
repositories {
    maven { url "http://repo.boundlessgeo.com/main" }
    maven { url "http://download.osgeo.org/webdav/geotools/" }


Geotools library

implementation group: 'org.geotools', name: 'gt-api', version: '20.3'

Can anyone help me?

  • 1
    See stackoverflow.com/questions/57945819/…. To my knowledge you still can't use GeoTools as a whole on Android as it has dependencies on a number of Java libraries that Android does not contain. You might be able to use specific subsets of GeoTools, though. – Sean Barbeau Mar 3 '20 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.