Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] Fix order in which repos are being synced #13202

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Conversation

andrlee
Copy link
Contributor

@andrlee andrlee commented Oct 25, 2018

While working on setting up android maps sdk with android studio (v.3.2) i ran on the gradle config problem producing the following:

Failed to resolve: support-v4
Open File
Failed to resolve: extensions
Open File
Failed to resolve: support-vector-drawable
Open File
Failed to resolve: livedata-core
Open File
Failed to resolve: runtime
Open File
Failed to resolve: common
Open File
Failed to resolve: viewmodel
Open File
Failed to resolve: monitor
Open File
Failed to resolve: extensions
Open File
Failed to resolve: support-vector-drawable
Open File
Failed to resolve: livedata-core
Open File
Failed to resolve: runtime
Open File
Failed to resolve: common
Show in File
Failed to resolve: viewmodel
Open File

I was able to resolve this problem by switching the order in which repositories are listed in build.gradle file. I'm not sure if anyone else ran on it before or if there's a better fix for this problem. I'll let @mapbox/maps-android team decide if this fix is useful or abandon this PR if it is not.

Copy link
Contributor

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrlee I've run into the exact same issue yesterday in the plugins repo and proposed the exact same solution mapbox/mapbox-plugins-android#731 and it seems to be working reliably since then.

@LukasPaczos LukasPaczos added Android Mapbox Maps SDK for Android build labels Oct 26, 2018
@andrlee andrlee merged commit da2685d into master Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants