Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you share an Android project?

I am trying to send the files from an Android project so that a friend of mine can open a new Android project in eclipse and mess around with code/run the project from their home machine. However, I have run into some problems dealing with missing manifest files, and non-matching signatures.

What is the simplest procedure for bundling up an Android project (not an .apk) to send to someone for their use in eclipse?

like image 377
joepetrakovich Avatar asked Nov 25 '10 00:11

joepetrakovich


People also ask

How can I add an android project to another android project?

Open Android Studio, and click File > New > New Project. Enter a name for your app project and specify the location where it should be created, and then click Next. Select the form factors your app will run on, and then click Next. Click Add No Activity, and then click Finish.

How do I copy an android project?

Select your project then go to Refactor -> Copy... . Android Studio will ask you the new name and where you want to copy the project. Provide the same. After the copying is done, open your new project in Android Studio.


2 Answers

The easiest way would be to create a Archive File export. It bundles the projects in your workspace into an exported .zip file. This .zip file can then be import by the other person into eclipse through the Existing Project importer.

To export:

  • File > Export > Archive File

To import:

  • File > Import > Existing Projects into Workspace
  • Select the exported .zip file as the Selected archive file
like image 159
Elijah Cornell Avatar answered Oct 14 '22 22:10

Elijah Cornell


Put it on a source control server, like SVN. If you don't have one, you can use something like Google Code ( http://code.google.com ). Eclipse has built-in source control features to update and commit things to source control.

like image 32
EboMike Avatar answered Oct 14 '22 22:10

EboMike