opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

Can't run the web version demo #182

Closed hasanli-orkhan closed 4 years ago

hasanli-orkhan commented 4 years ago

Hello. I try to run a web demo via ./gradlew :vtm-web-app:farmRun Getting an exception SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/phoenix/IdeaProjects/vtm/local.properties'. Then created local.properties and added sdk.dir to /home/phoenix/Android/Sdk

Tried once more to start via ./gradlew :vtm-web-app:farmRun Getting exceptions: java.lang.StringIndexOutOfBoundsException java.lang.IllegalStateException And the compiling freezes at 97 %. Full log: https://pastebin.com/WeLvaU24 How I can fix this?

OS - Linux Mint 64 bit JDK - AdoptOpenJDK 8 & 11 (installed via sdkman)

Also the another question - how I can add vtm to Spring Boot project? Thanks in advance