Browse Source

Update Android Dependencies Docs (#3438)

I was unable to compile because I use multidex and this line of code force the multidex library to be version 25.4.0 when the latest for this one is 1.0.3. This little fix may save a lot headaches.
Guido Taján 6 years ago
parent
commit
37d402e435
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docs/docs/Installing.md

+ 2
- 2
docs/docs/Installing.md View File

@@ -207,7 +207,7 @@ android {
207 207
 configurations.all {
208 208
     resolutionStrategy.eachDependency { DependencyResolveDetails details ->
209 209
         def requested = details.requested
210
-        if (requested.group == 'com.android.support') {
210
+        if (requested.group == 'com.android.support' && requested.name != 'multidex') {
211 211
             details.useVersion "25.4.0" // <- Change this to whatever version you're using
212 212
         }
213 213
     }
@@ -219,4 +219,4 @@ dependencies {
219 219
     implementation 'com.android.support:appcompat-v7:25.4.0'
220 220
 }
221 221
 
222
-```
222
+```