[英]Android Studio: How to Migrate IntelliJ Project to Gradle?
I have a project that was originally from IntelliJ. 我有一个最初来自IntelliJ的项目。 I followed the instructions below.
我按照下面的说明操作。 http://tools.android.com/tech-docs/new-build-system/migrating-from-intellij-projects
http://tools.android.com/tech-docs/new-build-system/migrating-from-intellij-projects
I'm not sure what to do next. 我不知道下一步该做什么。 When I load my project in Android Studio it still asks if I want to migrate to gradle.
当我在Android Studio中加载项目时,它仍然会询问我是否要迁移到gradle。 What did I miss?
我错过了什么?
I am able to use Gradle in the command prompt to build my project, so I assume I just need to tell Android Studio to use Gradle instead of Ant. 我能够在命令提示符下使用Gradle来构建我的项目,所以我假设我只需要告诉Android Studio使用Gradle而不是Ant。
I next imported my existing project and it recognized it as a gradle project. 我接下来导入了我现有的项目,并将其识别为gradle项目。 I also had to change the gradle version in the gradle.build file to work with the newer version of Android Studio.
我还必须更改gradle.build文件中的gradle版本以使用较新版本的Android Studio。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.