I’ve downloaded one of the open source Android Applications (the music application) from the Android git, and I’m trying to create a new project from the source. Creating a new project using that existing source doesn’t work giving me an “invalid description error”. Any help?
I’ve downloaded one of the open source Android Applications (the music application) from the
Share
You must be referring to the error message “
invalid project description“.See this thread (relevant extracts below, with emphasis mine):
If you see a .project in the application you downloaded, you can try a
"File" + "Import" + "Existing Projects into Workspace"and select the directory of the music sample.But if not, using
New> Android Project> Create project from existing sourceis theright way to do it.
Make sure to select which Android target you want (1.1 or 1.5 or 2.0):
the “new project” wizard will automatically select the right sample directory for you.
Then select “Browse” and the Music directory. It should then fill the properties at the bottom of the new android project wizard.
In short:
See also this tutorial (for the Snake sample)
That being said, if after importing the project, you end up (like the OP) with tons of errors.
See question R cannot be resolved – android error:
Project > Build all(and selecting “Build Automatically“Other cause for massive compilation errors all over the Eclipse Android project, as reported by the OP himself (GuyNoir):