Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown property 'SDK_REGISTRY_TOKEN' error #2453

Open
pengju114 opened this issue Aug 13, 2024 · 6 comments
Open

unknown property 'SDK_REGISTRY_TOKEN' error #2453

pengju114 opened this issue Aug 13, 2024 · 6 comments

Comments

@pengju114
Copy link

When building the project, the build system generates the following error:
Could not get unknown property 'SDK_REGISTRY_TOKEN' for root project 'Mapbox Maps Android' of type org.gradle.api.Project.

And I have placed a property “SDK_REGISTRY_TOKEN” and set it's value to my token in the local.properties file, But the error still there. Some one can help? thanks.

@flasher297
Copy link
Contributor

Thank you for the question.
You can follow this guide to set up SDK_REGISTRY_TOKEN
https://docs.mapbox.com/android/maps/guides/install/
Could you try to set it up in the Environment variable?

@pengju114
Copy link
Author

Thank you for the question. You can follow this guide to set up SDK_REGISTRY_TOKEN https://docs.mapbox.com/android/maps/guides/install/ Could you try to set it up in the Environment variable?

Thank you for your suggestion, but I tried it and it doesn’t seem to work.

@flasher297
Copy link
Contributor

flasher297 commented Aug 27, 2024

@pengju114 Could you please give more context? Do you try to compile an example app from this repo?

@pengju114
Copy link
Author

@flasher297 yes, i want to run the example downloaded from this repo on the android device, for some technology research. and now my project of the example still building fail. i have config the environment following your guidance, but it doesn't work.

@flasher297
Copy link
Contributor

@pengju114 thank you for the additional explanations.
We'll try to verify the ability to compile our public examples in this repo and come back to you with a report.

@pengju114
Copy link
Author

thank you very much. and below is the error screen shot:
screenshot-20240926-121757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants