Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Eclipse use the same sdk that Android Studio (intelliJ)?

I'm using Android Studio, but I need Eclipse at the moment. So, in Window > Preferences > Android, in SDK Location, I choose the sdk location inside my Android Studio folder, that is .../android-studio/sdk, but it can't find the sdk APIs I've installed.

And when I try to enter this configuration, it shows:

The currently displayed page contains invalid values

Any help?

Thank you!

like image 860
androidevil Avatar asked May 30 '13 21:05

androidevil


People also ask

Can we use both IntelliJ and Eclipse?

Can we be able to run the projects via eclipse and intellij together at the same time? Yes, because these IDE store their project data and configuration in different files, so they don't step on each other: Eclipse stores its files in .

Is Eclipse and Android Studio same?

Eclipse, the IDE, has a speedier start-up time. It mostly supports Java, but it can also work with other languages such as C, C++, C#, PHP, Perl, and Ruby. Android Studio is an integrated development environment (IDE) for Android operating systems.

Can I install IntelliJ and Eclipse?

A: Yes, IntelliJ IDEA is capable of running Eclipse projects. In fact, IntelliJ automatically finds the ones available on your system and puts them under the Eclipse Projects tab in the welcome screen.

Is Eclipse a SDK?

Eclipse software development kit (SDK) is free and open-source software, released under the terms of the Eclipse Public License, although it is incompatible with the GNU General Public License. It was one of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea.


2 Answers

I know it is late for the answer but if anyone search for this..

First you have to set up a common SDK, for example put your SDK folder at the following location C:\Android\sdk

Link SDK in your Android Studio, go to File->Project Structure->Android SDK and point the C:\Android\sdk in Android SDK location.

Link SDK in your Eclipse ADT, go to Eclipse->Preferences->Android and change the SDK Location to C:\Android\sdk

*Restart both Eclipse and Android Studio

like image 123
AkisC Avatar answered Oct 13 '22 16:10

AkisC


Yes, first install the Android studio. It will instal the SDK in an Android folder under user/AppData/Local/Android/sdk then install Eclipse (unzip). Add the ADT (Android Dev Tools) to Eclipse see : http://developer.android.com/sdk/installing/installing-adt.html

Then, once you restart eclipse it will ask you to provide the folder for the SDK, provide the folder where Studio installed it.

There, both are working with same SDK.

This will save you space on the drive and not have to download and install the SDK twice.

Enjoy.

like image 34
drew7721 Avatar answered Oct 13 '22 18:10

drew7721