【问题标题】:How to add build.gradle on existing Android app on Eclipse如何在 Eclipse 上的现有 Android 应用程序上添加 build.gradle
【发布时间】:2014-04-25 03:19:22
【问题描述】:

我的 Eclipse Android Studio for Mac 上有现有的 Android 应用程序,我将使用 chrisbanes/ActionBar-PullToRefresh

并且这个安装需要使用 build.gradle 将库添加为依赖项,但我的项目中没有 build.gradle。如何添加这个 gradle 文件以便我可以使用 ActionBar-PullToRefresh。谢谢。

【问题讨论】:

    标签: java android eclipse gradle


    【解决方案1】:

    我想我在这个线程Migrating from Eclipse

    上找到了我遵循 Export from Eclipse 的解决方案

    【讨论】:

      【解决方案2】:

      如果没有 ADT(以及 Eclipse),只需添加 drop-in template 并让您的 gradle 构建首先通过。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-09
        • 2017-12-16
        • 2015-09-13
        • 2014-01-20
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多