2

I'm trying to implement mapbox in my nativiscript app using @nativescript-community/ui-mapbox plugin. With regard to the documentation, it should be added :

<service android:name="com.mapbox.services.android.telemetry.service.TelemetryService" /> to the <application> node of app/App_Resources/Android/AndroidManifest.xml.

But when running the tns run android command, I get the following error:

Could not find method compile() for arguments
[com.mapbox.mapboxsdk:mapbox-android-telemetry:6.1.0] 
on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Gedeon Mutshipayi
  • 2,871
  • 3
  • 21
  • 42

0 Answers0