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

时间:2017-05-13 18:34:55   收藏:0   阅读:1402
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‘   这个必须加入 不加入则报上面的错

技术分享

原文:http://www.cnblogs.com/cxchanpin/p/6849808.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!