android-studio - Android Studio “Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly”

标签 android-studio gradle android-gradle-plugin

我不明白错误说

Error:Failed to create parent directory 'C:\Program Files\Android\Android Studio\gradle\daemon' when creating directory 'C:\Program Files\Android\Android Studio\gradle\daemon\2.2.1'

最佳答案

您之前有项目编译/工作吗?如果是这样,则问题很可能是您的XML文件出现问题。如果您导入了任何依赖,也要尝试清理并确保所有依赖项都是正确的。

除了有关您的项目的错误代码之外,您没有提供太多信息。这是您第一次使用Android Studio吗?您最近有更新吗?

关于android-studio - Android Studio “Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30791788/

相关文章:

带有 gradle 4.x 的 Grails 3.3.x 不起作用?

android - 在 Android 中获取加载包装器属性错误

android - 无法将应用程序上传到 API 10 设备或模拟器(陈旧的 dexed jar )

Android Studio - layout-land 文件夹未出现

android - 程序类型已经存在 : android. support.compat.R$attr

Android 构建工具 1.1.0,单元测试文件夹?

android - AppExtension 类型对象的未知属性 dynamicFeatures

linux - Linux 和 Windows 上的 Android Studio

android - 如何处理永远不会发生的检查异常(UnsupportedEncodingException)?

android - 使用Malinskiy的marathon gradle插件配置或指定Marathonfile?