Closed estherooi closed 4 years ago
Hey @estherooi , were you able to resolve the issue?
@yunikkk hi yes, I was able to solve the issue now. Thanks
what was the solution ? bcoz i am also facing same.
Podrías decir cual fue la solución tengo el mismo problema
@narayangour @Cocorafa have you added Vision as maven dependencies or downloaded .aar-s directly?
i was following this - https://vision.mapbox.com/install/ here it looks added as maven dependencies. i created a new project in android studio and added snippet from above mention link.
if you need code i can share here zip.
Hi @narayangour - have you added
maven {
mapboxMavenUser=mapbox
mapboxMavenToken=YOUR_SECRET_MAPBOX_TOKEN
}
to global ~/.gradle/gradle.properties
?
You could paste your project level build.gradle
and app level build.gradle
files as well.
@narayangour @Cocorafa
We've also checked some logs and it seems indeed that you try to download libs without valid mapbox token. Please go through instructions again (especially Import Vision into your project with a package manager
section).
Also it is possible that Gradle sometimes faces some errors, e.g. while testing it myself I faced an issue that mapbox-android-vision-safety-0.11.0.aar
could not get downloaded (while vision
and vision-ar
were downloaded OK). However I've tried in a moment (synced with gradle files) and could successfully download it.
error solved by creating new token with vision:download permission and added that token into YOUR_SECRET_MAPBOX_TOKEN variable.
but facing issue while running app in mobile from
...it does not show anything like no arrow, sign. same as on web.
can u help me to run the demo same shown on web. how many file i need to add from above git example's.
@narayangour glad to hear you made tokens work. Please open as issue in https://github.com/mapbox/mapbox-vision-android repo and provide more information: at least what example you try to run and what did you expect to see.
To resolve it you have to create a token able to download vision. 1) Go to account.mapbox.com 2) Click on create a token 3) Named it and flag VISION:DOWNLOAD in secret scopes 4) Copy your new token in gradle.properties That's all
Hi, I am a student doing my final year project, can anyone provide me step by step guidance in this? thanks a lot!