Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better to convert IntelliJ project to Gradle or to use Android Studio import project?

If you open an IntelliJ project in Android Studio, there is a warning that you should migrate to Gradle and it sends you to this link. This process seems a bit strange and complicating since the process is not well explained (it's more for experienced programmers who know how Gradle project looks like).

There is also a feature in Android Studio to import IntelliJ IDEA project. I did it with my project and it imported everything (except empty Proguard file), compiled well and all seems to work fine.

However, is this a valid process too - can I safely import future IDEA's project using import feature rather than the solution suggested by Android Studio?

Are there hidden dangers using this method? The least I would like it to continue coding newly imported Gradle-based project and at some point realize that the project is corrupted.

like image 846
sandalone Avatar asked Nov 11 '22 06:11

sandalone


1 Answers

It should be fine. The projects it imports have their Gradle files properly set up, and if it works okay after import, there's nothing about the process by which it created that should make it stop working in the future. I think the link in that warning is just out of date.

like image 92
Scott Barta Avatar answered Jan 04 '23 01:01

Scott Barta