10

I downloaded a sample project from a website. when i import this project to eclipse work space. Im getting this error

Project has no default.properties file! Edit the project properties to set one.

How i can get rid of this problem. Please let me know

Thanks

praveenb
  • 10,549
  • 14
  • 61
  • 83

5 Answers5

12

You can use create new project from existing sources option in Eclipse with the location pointing to downloaded project directory.

Suresh
  • 9,495
  • 14
  • 49
  • 63
5

Also see project.properties in android project. In ADT 14, default.properties was renamed to project.properties.

Quote from the changelog:

default.properties which is the main project’s properties file containing information such as the build platform target and the library dependencies has been renamed project.properties.

See build changes in revision 14, at the bottom under "Project Setup"

Community
  • 1
  • 1
Michael Levy
  • 13,097
  • 15
  • 66
  • 100
4

Solution found on a blog:

  1. Delete Eclipse specific files and folders (eg. “.settings”, “.project” “.metadata” etc.) from your Android project folder.
  2. Open up Eclipse and ensure your Android project is removed from the Project Explorer.
  3. From the Eclipse Project Explorer create a new Android project from your existing Android files.
Community
  • 1
  • 1
mutkan
  • 934
  • 8
  • 12
1

Simply rename your project.properties file to default.properties ... You got it done ;)

George Nguyen
  • 2,169
  • 1
  • 16
  • 7
0

Update ADT and the Android SDK.

Andro Selva
  • 53,910
  • 52
  • 193
  • 240
Robert
  • 37,670
  • 37
  • 171
  • 213