Android – error updating gradle to 2.10
•
Android
I use gradle 2.9 in my android studio project
Today, I tried to update gradle to 2.10 with an error:
I changed it to 2.2 as a trick, but it didn't work, nor was it 2.10
I use local gradle distribution instead of wrappers, so I think this technique is useless
resolvent:
It has been marked as a bug and will be fixed in the next Android Studio Version (1.5. X)
Until then, the temporary fix added the following line to the top-level build.gradle:
buildscript {
System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true'
...
}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码