Advertisement
shishir123

Android_Version_problem

Mar 21st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. // Add this code below dependency of build.gradle app level
  2.  
  3. configurations.all {
  4.     resolutionStrategy.eachDependency{
  5.         DependencyResolveDetails details ->
  6.             def requested=details.requested
  7.             if(requested.group=="com.android.support"){
  8.             if(!requested.name.startsWith("multidex")){
  9.                 details.useVersion("26.0.1")
  10.             }
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement