使用Android studio 3.0以上的版本导入工程报错:
Error:Unable to load class 'org.gradle.logging.StyledTextOutput'. Possible causes for this unexpected error include:
解决方案 :
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.3.0'
改为:
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2'
就可以了。