Android Studio - 无法解析配置的所有依赖项':app:_debugApkCopy'

时间:2017-03-31 16:23:10

标签: android android-studio

我正在尝试运行Android Studio项目,但是当我这样做时,它失败了:

enter image description here

This post建议我应该重新安装android支持存储库,而this guide建议我应该查看SDK Manager窗口中的Extras文件夹,但是没有这样的文件夹:

enter image description here

This post说我应该使用Launch Standalone SDK Manager按钮,但这对我来说也不存在。

我很感激帮助,谢谢。

1 个答案:

答案 0 :(得分:0)

认为您缺少所需的支持库。他们不是android sdk的一部分。

的build.gradle:

Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:356:11)
    at ServerResponse.header (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/response.js:725:10)
    at ServerResponse.send (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/response.js:170:12)
    at done (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/response.js:962:10)
    at tryHandleCache (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/ejs/lib/ejs.js:208:10)
    at View.exports.renderFile [as engine] (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/ejs/lib/ejs.js:412:10)
    at View.render (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/view.js:128:8)
    at tryRender (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/application.js:640:10)
    at EventEmitter.render (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/Users/camillesebastien/Documents/Programming/Mongo App/node_modules/express/lib/response.js:966:7)

只是一个复制粘贴,尝试最后你真正需要的那个。此版本应该是您的例外告诉你的