简体   繁体   English

Braintree Android Eclipse ADT中的Gradle入门

[英]Braintree Getting Started with Gradle in Android Eclipse ADT

I have an existing Android Project that I created using the Eclipse ADT . 我有一个使用Eclipse ADT创建的现有Android Project I need to incorporate Braintree transaction capability into my application. 我需要将Braintree交易功能整合到我的应用程序中。 Braintree's Getting Started link, it mentions adding instructions to your build.gradle Can someone please provide step-by-step instructions on how to use Gradle with an existing Android Project in Android Eclipse ADT Braintree的“ 入门”链接,其中提到了向build.gradle添加说明。有人可以提供有关如何将GradleAndroid Eclipse ADT的现有Android Project一起使用的分步说明

Steps to be followed : 应遵循的步骤:

  1. Right click on your project, click on export. 右键单击您的项目,然后单击导出。
  2. Select android and then generate gradle build files. 选择android,然后生成gradle构建文件。
  3. Click on next. 点击下一步。

Thats it , now the build.gradle file will be added to your project. 就是这样,现在build.gradle文件将被添加到您的项目中。

NOTE : Before doing this, install and configure Gradle plugin for eclipse. 注意:在执行此操作之前,请为Eclipse安装并配置Gradle插件。 To do so follow this link : https://github.com/spring-projects/eclipse-integration-gradle 为此,请点击以下链接: https : //github.com/spring-projects/eclipse-integration-gradle

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM