Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import Android samples into an Eclipse IDE

android-sdk-windows\samples contains various samples. Is there a mechanism to eclipsify all samples as android eclipse projects, so that it can be viewed in an Eclipse environment.

like image 644
Jason Avatar asked Jun 10 '11 14:06

Jason


People also ask

Can you build Android apps in Eclipse?

To do this, open Eclipse and Launch Android AVD Manager from options Window > AVD Manager and click on New which will create a successful Android Virtual Device. Use the screenshot below to enter the correct values. Voila! You have successfully created Android Application Development environment.

Which is the plugin needed for run Android apps in Eclipse?

Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). This plugin provides a powerful, integrated environment in which to develop Android apps.


1 Answers

You can use File -> New -> Android Project and select 'Create project from existing source' to import an existing project. However, sometimes it's headbangingly annoying to get it to work right.

In the New Android Project dialogue there's also a radio button option 'Create project from existing sample', which, coming to think of it, is probably what you want to use in this case.

like image 107
Trevor Avatar answered Oct 07 '22 05:10

Trevor