Skip to content

Commit

Permalink
fix problem while building
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Wei committed Dec 28, 2018
1 parent 7f104b8 commit a5f95ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ allprojects {
google()
jcenter()
}
// Add the "force" resulation strategy to fix problems building the app
// (https://github.com/X-Wei/flutter_catalog/issues/4).
// C.f. https://stackoverflow.com/a/50578320.
configurations.all {
resolutionStrategy.force "com.android.support:support-v4:26.1.0"
}
}

rootProject.buildDir = '../build'
Expand Down

0 comments on commit a5f95ab

Please sign in to comment.