How do you share an Android project?

2019-04-06 17:16发布

问题:

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?

回答1:

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


回答2:

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.