Differences when creating apps with Android Studio and Eclipse (code part)

Asked 2 years ago, Updated 2 years ago, 47 views

The book I'm currently studying is using Eclipse to create an app They want me to make an app using Android Studio.

I'm comparing the sources in Android and Eclipse projects, but I don't know what they have in common yet, so I'm asking you a question!

Questions

android eclipse

2022-09-22 21:26

2 Answers

The code is the same and it's just a difference in IDE. I think we should both do Java

Google officially stops supporting Eclipse and recommends that you continue using Android Studio.

Books described by Eclipse standards are also available in Android studios

However, the IDE and settings are different, so the menu location and function may be different. If you search for that part on Google, you can find it all.


2022-09-22 21:26

Hello. If you add a little more to the above answer...

The Google Android site has a good document called training. It doesn't include pictures, but I think it'll be good to follow.

Android Developer Training

First of all, I recommend you to study how to create a project step by step using Android Studio, and then follow the sample through the current book.

There is also a way to bring the Eclipse project to Android Studios, so it won't be difficult.

In addition, I will briefly show you the folder structure of Eclipse and the folder structure of Android Studio.

It has the following structure. Only one app exists in the project folder itself.

If you want to create multiple modules and multiple apps, you can just think of these projects as being created.

The overall structure is shown in the image below. The top contains the app (app with UI) and library (library) folders at once under the folder of the full project app name.

And by the way, in Eclipse, this has to be created as multiple projects.

If you try to structure the folder yourself... You can see that.

But you're going to see open source, and the old codes are based on Eclipse, so it's easy to see.


2022-09-22 21:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.