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

来源:互联网 发布:php中文乱码问题 编辑:程序博客网 时间:2024/06/02 03:36
Could not determine the dependencies of task ':compileReleaseJava'.

> failed to find target android-19

    欢迎加入QQ交流3群:317874559



这个问题需要的在工程的根目录添加两个文件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的内容是你需要打包的工程 如RoBoGuiceTest工程

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


0 0