Active10 months ago
Android offers a custom plugin for the Eclipse IDE, called Android. In the 'Welcome to Android Development' window that appears, select Use existing SDKs. Apr 27, 2012 - Although it's not too demanding to develop simple Android apps (e.g. Lesson 7 completes this course by teaching you how to use Eclipse to.
I prefer eclipse over android studio, my question is if I can still use it to build projects for future development - for example the recycleview library. It is supported in eclipse too, but will future google libraries continue to support it?
My second question is, if I'm using eclipse to make an app, will it be run on new devices too, as the project structure is different in eclipse and android studio.
My final question is how can I use libraries from android arsenal if I don't use android studio (all the libraries there are for maven and gradle)?
joeystarjoeystar
1 Answer
I prefer eclipse over android studio, my question is if I can still use it to build projects for future development - for example the recycleview library. It is supported in eclipse too, but will future google libraries continue to support it?
In the end, it is all just Java, XML, and other such resources. The
RecyclerView
library is no exception- it is just a library that can be used in any IDE.The IDE you use for development is just a tool to view and edit these project files. Separately, you use a build system to build the application. Your IDE, the build system, and the project files are completely separate and one doesn't depend on the other to create a functioning application. In fact, you can build an Android application without an IDE at all.
The biggest issue you might run into here is the format of libraries such as
RecyclerView
. In the Eclipse days (note that Eclipse Android projects typically use Ant for building), most libraries came as either JAR files or Android libraries (of source code). With the release of Android Studio and the Android Gradle plugin, everything is shifting towards Gradle dependencies.Also be aware that Google is not going to continue supporting Eclipse development. The tools for building Android application in Eclipse will not continue to receive updates, so bugs may pop up in the future that prevent you from continuing to use it effectively.
My second question is, if I'm using eclipse to make an app, will it be run on new devices too, as the project structure is different in eclipse and android studio.
The output of building an Android application is the same regardless of how or where you build it - you get an APK with the same file structure. The structure of the built APK is independent of the structure of the source code.
My final question is how can I use libraries from android arsenal if I don't use android studio (all the libraries there are for maven and gradle)?
Eclipse can use both Gradle and Maven for building. If you want to use libraries as Gradle or Maven dependencies, you will need to set up your project to use either Maven or Gradle to build instead of Ant. Otherwise you can still find JARs for most projects that don't rely on the Android framework, or you will need to get the source code for the library and set it up as a project dependency yourself.
hendalst2,27711 gold badge1414 silver badges2020 bronze badges
Tanis.7xTanis.7x56.7k99 gold badges103103 silver badges104104 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
![Eclipse with android development tools Eclipse with android development tools](https://tiliman.files.wordpress.com/2010/02/picture-44.png)
Not the answer you're looking for? Browse other questions tagged javaandroideclipsemavengradle or ask your own question.
Related articles:
Load more
Nowadays, software tool developers use an Integrated Development Environment (IDE) for easier Java development. The most widely accepted IDE among Java developers is Eclipse. This table gives you quick tips for using the Eclipse IDE to develop Android apps.
Task | How to accomplish |
---|---|
Start a new Android project | From the New Project screen, under Android in the Wizards panel, select Android Project. |
Create and starting an emulator | From the Window menu, select Android SDK and AVD Manager. Select Virtual Devices and click on New. Enter a name for the virtual device, set the target and click on Create AVD. The device will be created. You will be placed back in the Virtual Devices screen. From the list of devices, select the device you just created and click on Start. |
Deploy your app on a device | Right-click on the project that contains the app, select Run As, and then select Android Application. |
Bring up the logcat window | From the Window menu, select Show View, and then Other. From the list of views shown, select logcat. |
Debug your application | Declare your application as “debuggable” in its manifest. To do this in Eclipse, view the Manifest, open the Applications tab, and set the field named Debuggable to true (or edit the XML directly, add android:debuggable=“true“ as an attribute to the <application> element). Enable USB debugging on Windows and Linux (see Google USB Driver and Using Hardware Devices). Right-click on the project that contains the app, select Debug As and then select Android Application |
See what devices are available | From the Window menu, select Show View, and then Other. Select Android, and then select Devices |
Open the DDMS perspective to browse a device | From the Window menu, select Open Perspective, and then DDMS. |
Upload a file to a device | Open the DDMS perspective to browse the device. In the File Explorer tab, click and highlight the directory into which you want to upload the file. Then select the little icon at the top of the window whose tooltip says, “Push a file onto the device”. |
Use the profiler | In the Devices view, select the running project. Start the profiling by clicking on the icon to the left of the Stop sign (tooltip reads, “Start Method Profiling”). |
Set up an Android Unit Test project | In the Resource or the Java perspective select File->New->Other-Android Test Project. Set the name of the Android development project that is being tested. |