oxoooo / mr-mantou-android

On the importance of taste
http://www.oxo.ooo
GNU General Public License v3.0
727 stars 186 forks source link

编译不过啊 #7

Closed leach-chen closed 8 years ago

leach-chen commented 8 years ago

def gitCommits = Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim())

在builde.gradle里面这行 Error:(24, 1) A problem occurred evaluating project ':app'.

For input string: ""

xingrz commented 8 years ago

那就去掉它

leach-chen commented 8 years ago

去掉也没用

asmallkite commented 8 years ago

我也遇到这个问题

xingrz commented 8 years ago

确定你的项目是 clone 下来的而不是下载 zip 包的?

asmallkite commented 8 years ago

当我clone的时候,会弹出这样的错误,只能下载zip包了 wua cz5i27u fvjl mzkym @xingrz

asmallkite commented 8 years ago

将build.gradle中的grale版本升级后解决了 classpath 'com.android.tools.build:gradle:2.2.0'