Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i open a sample Android SDK app in Eclipse

I have created a basic program in Eclipse for Android 2.1. then I wanted to look at some of the samples, and import sample projects which are in the SDK directory. I have tried opening a new project and 'create project from existing source', I browse and can select a project, all the details come up and I can click finish, but I receive an error message saying 'could not write file', and if I click on details, it says "access is denied" I have tried copying a project folder into my own workspace but it still does the same thing.

like image 384
Mic Avatar asked Jan 03 '11 22:01

Mic


People also ask

Can you build an Android app in Eclipse?

For developing the android application using eclipse IDE, you need to install the Eclipse. you can download it from this location download the Eclipse. Eclipse classic version is recommended but we are using the Eclipse IDE for JavaEE Developers.

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

Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.

How do I open an Android Studio program?

Run on an emulator In Android Studio, create an Android Virtual Device (AVD) that the emulator can use to install and run your app. In the toolbar, select your app from the run/debug configurations drop-down menu. From the target device drop-down menu, select the AVD that you want to run your app on. Click Run .


1 Answers

Right click in the package explorer window.

Select New -> Other

Under the Android folder select Android Sample Project

Choose the build target and then the sample project

like image 184
Mike Avatar answered Oct 13 '22 21:10

Mike