问题:
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.xiaomi.account:oauth-android:latest.release.
解决方法:
C:\Users\jiangping\.gradle\wrapper\dists文件夹中找到项目中所用的gradle的版本,将其中gradle.properties文件里的systemProp.system=systemValue这句注释掉即可。
原文件:
gradlePropertiesProp=gradlePropertiesValue
sysProp=shouldBeOverWrittenBySysProp
envProjectProp=shouldBeOverWrittenByEnvProp
systemProp.system=systemValue
现
gradlePropertiesProp=gradlePropertiesValue
sysProp=shouldBeOverWrittenBySysProp
envProjectProp=shouldBeOverWrittenByEnvProp