Skip to content

Bug(Android): SDK Registry token is null #787

@YuuWoods

Description

@YuuWoods

I downloaded mapbox-maps-flutter2.4.1 from below, opened the example folder in Android Studio and tried to build it on Android.
https://github.com/mapbox/mapbox-maps-flutter

I could not build it with the following error

Launching lib/main dart on ***** in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
* Where:
Build file '/Users/*****/mapbox-maps-flutter/android/build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':mapbox_maps_flutter'.
> SDK Registry token is null. See README.md for more information.

I followed the documentation below.
https://docs.mapbox.com/flutter/maps/guides/install/

There is no mention of “SDK Registry token” in this document, and the CHANGELOG.md for mapbox-maps-flutter states the following.

> [!IMPORTANT]
> Configuring Mapbox's secret token is no longer required when installing our SDKs.
スクリーンショット 2024-11-27 16 45 47

It would be helpful if you could please fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions