解决Gradle执行命令时报Could not determine the dependencies of task ':compileReleaseJava'.

Could not determine the dependencies of task ':compileReleaseJava'.

> failed to find target android-19

    欢迎增加QQ交流3群:317874559



这个问题须要的在project的根文件夹加入两个文件local.properties和settings.gradle这 两个文件

local.properties的内容是:你的SDK文件夹

sdk.dir=C:\xiong\android\adt-bundle-windows-x86-20140321\adt-bundle-windows-x86-20140321\sdk

settings.gradle的内容是你须要打包的project 如RoBoGuiceTestproject

include ':RoBoGuiceTest'   这个必须加入 不加入则报上面的错


原文地址:https://www.cnblogs.com/cxchanpin/p/6849808.html