This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rename access_token resource #3119
Comments
Or we can just add namespace map box to all sdk strings.
|
This is causing an error when at build time, meaning that it's not possible to build from /Users/brad/development/mapbox-gl-android/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/fragment_double_map.xml:11:30-57 : AAPT: No resource found that matches the given name (at 'access_token' with value '@string/mapbox_access_token').
/Users/brad/development/mapbox-gl-android/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/fragment_double_map.xml:25:34-61 : AAPT: No resource found that matches the given name (at 'access_token' with value '@string/mapbox_access_token').
:MapboxGLAndroidSDKTestApp:processReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':MapboxGLAndroidSDKTestApp:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android/build-tools/23.0.2/aapt'' finished with non-zero exit value 1 |
bleege
added a commit
that referenced
this issue
Feb 18, 2016
The error turned out to be that when running it locally the key in |
@bleege, I didn't came to mind that others had to remove/regenerate the file (because it's gitignored..). Apologies! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Been thinking a bit about this and it might be a good idea to rename
access_token
resource:to
Their is always the possibility that the end user or another library, that the end user is using, is overriding the resource by using resource merging. By prepending mapbox to the key we are making a more unique identifier.
The text was updated successfully, but these errors were encountered: