Instead of trying to create a new project from existing source you
should try to do a "File" + "Import" + "Existing Projects into
Workspace" and select the directory of the snake sample.
Best regards
Lorents
On 14 Apr, 14:22, urymunge <urymu...@gmail.com> wrote:
Using New> Android Project> Create project from existing source is the
right way to do it.
Make sure to select which Android target you want (1.1 or 1.5): the
new project wizard will automatically select the right sample
directory for you. Then select "Browse" and the Snake directory. It
should then fill the properties at the bottom of the new android
project wizard.
However you should not put your workspace in %ANDROID_HOME%\samples.
Leave it somewhere else (My Documents, whatever). I suspect you get a
conflict because Eclipse tries to create a project and there's already
a directory of the same name.
In either case, can you look at your_workspace_dir/.metadata/.log for
a more verbose error and post it?
Change the work space other than android sdk.Then dont put project name
first.Browse the project of \samples\Snake in create project from the
source.The other fields will fill automaticaly.Then execute....
> Using New> Android Project> Create project from existing source is the
> right way to do it.
> Make sure to select which Android target you want (1.1 or 1.5): the
> new project wizard will automatically select the right sample
> directory for you. Then select "Browse" and the Snake directory. It
> should then fill the properties at the bottom of the new android
> project wizard.
> However you should not put your workspace in %ANDROID_HOME%\samples.
> Leave it somewhere else (My Documents, whatever). I suspect you get a
> conflict because Eclipse tries to create a project and there's already
> a directory of the same name.
> In either case, can you look at your_workspace_dir/.metadata/.log for
> a more verbose error and post it?
> R/
> On Tue, Apr 14, 2009 at 5:31 AM, urymunge <urymu...@gmail.com> wrote: