android - 将 android 项目迁移到 Gradle?

标签 android gradle migrate

当我导入下载的项目时,我收到此消息:

Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.

More Information about migrating to Gradle

Don't show this message again.

如何使用gradle构建系统制作android项目?

最佳答案

转到 Android Studio 的欢迎屏幕(如果您在项目中:文件 -> 关闭项目)。 有一个按钮“导入项目(Eclipse ADT、Gradle 等)”,按下它。 从现在开始,向导将指导您,但我也会在这里描述它们:

选择您的项目文件夹。 输入您的新项目路径。 选中所有复选框。

有许多迁移到 Android Studio 的指南(例如 by Google themselves)。

关于android - 将 android 项目迁移到 Gradle?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40741449/

相关文章:

android - Flutter 默认启动 View 淡入淡出动画

java - org.json.JSONException : Value OR-12345 at order_no of type java. lang.String 无法转换为 int

android-studio - WSL gradle 将当前目录前置到 Android SDK 路径

intellij-idea - 如何将依赖源添加到 IntelliJ

python - 迁移 : django. db.utils.IntegrityError 时出错:列 "primary_language_id"包含空值

android - 错误信息;无法访问类 'androidx.compose.ui.Alignment.Horizontal' 。检查模块类路径是否缺少或冲突的依赖项

android - 回到主要 Activity 的后退按钮引发 "Unfortunately Application has stopped"

android - 无法安装约束布局:1.0.2

ruby-on-rails - rake 数据库 :migrate returning error rake db:migrate

android - 如何在更新期间迁移 SharedPreferences?