导出和导入Gradle工程
来源:互联网 发布:淘宝切图模块 编辑:程序博客网 时间:2024/04/29 14:56
Migrating from Eclipse
SEE ALSO
- Eclipse Compatibility Mode
- FAQ on Migrating
If you've previously developed for Android using Eclipse and would like to migrate to Android Studio, you should export your projects from Eclipse in order to generate Gradle build files. You can then import your project into Android Studio.
Export from Eclipse
- Update your Eclipse ADT Plugin (you must have version 22.0 or higher).
- In Eclipse, select File > Export.
- In the window that appears, open Android and select Generate Gradle build files.
- Select the project you want to export for Android Studio and click Finish.
Your selected project remains in the same location but now contains a build.gradle
file and is ready for Android Studio.
Import into Android Studio
- In Android Studio, close any projects currently open. You should see the Welcome to Android Studio window.
- Click Import Project.
- Locate the project you exported from Eclipse, expand it, select the build.gradle file and click OK.
- In the following dialog, leave Use gradle wrapper selected and click OK. (You do not need to specify the Gradle home.)
Now that your project is imported to Android Studio, read Tips and Tricks for some help getting started.
Note: It's possible to import an existing Android project to Android Studio even if you don't generate a Gradle build file from Eclipse—Android Studio will successfully build and run projects using an existing Ant build file. However, in order to take advantage of build variants and other advanced features in the future, we strongly suggest that you generate a Gradle build file using the ADT plugin or write your own Gradle build file for use with Android Studio. For more information about the Gradle build system, see the Gradle Plugin User Guide.
- 导出和导入Gradle工程
- 导出和导入Gradle工程
- Unity导出Gradle工程
- Eclipse开发工程的导入和导出
- Eclipse开发工程的导入和导出
- MyEclipse导入,导出 工程
- Gradle导入已有工程
- 如何从Eclipse工程中导入和导出jar包
- MyEclipse或Eclipse中工程的导入和导出
- java web 工程导入导出
- Unity 导出 Gradle 工程(Android Studio)
- intellj如何导入一个gradle的工程!
- Gradle 导入开源工程 常见问题解决方法
- eclipse导入android ware的sample 工程(gradle工程)
- dll导入和导出
- dll导入和导出
- SVN导入和导出
- 数据库导出和导入
- java 多语言ResourceBundle类
- 如何设置eclipse默认打开文件的方式
- python, pip版本问题解决
- Android:Layout_weight的深刻理解
- 如何设置plsql字体大小
- 导出和导入Gradle工程
- eclipse统一编码的方式
- eclipse如何设置JDK
- 如何显示eclipse中jar包图标
- dwr与spring一起使用的方法
- Oracle Sql语句调优
- DSP下的简单性能优化
- 匿名内部类的参数传递使用final
- servlet中获取js传过来的数组