【问题标题】:Revert Gradle build in Eclipse :在 Eclipse 中恢复 Gradle 构建:
【发布时间】:2013-11-27 11:31:51
【问题描述】:

我试图安装 Android Studio 并从 eclipse 导入一个项目。所以我按照文档步骤导出:我构建 gradle 文件。 现在在我的 Eclipse IDE 上,我在下面的第 4 行有一个错误:

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:pj="http://schemas.android.com/apk/res/com.example.myApp"

错误是:

In Gradle projects, always use 
http://schemas.android.com/apk/res-auto for custom attributes

我该怎么办?我按照他们的说法更改了它,但我担心我可能会失去兼容性。

我可以“销毁”gradle build 吗?重新编译?

【问题讨论】:

    标签: android eclipse gradle


    【解决方案1】:

    首先,您应该检查 gradle build 在 Eclipse 中是否有效。

    您需要做的是检查/比较 .project 和 .classpath 文件(默认隐藏)与任何其他 Android 项目

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-20
      • 2015-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多