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

前端 未结 22 682
耶瑟儿~
耶瑟儿~ 2020-11-28 10:50

While configuring MJAndriod I have got an error as follows:

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

相关标签:
22条回答
  • 2020-11-28 11:33

    Don't import it into Eclipse, use create new project from existing source in Eclipse.

    0 讨论(0)
  • 2020-11-28 11:34

    Just try these steps and i am sure it will definitely help you..

    1.Just rename the project.properties to default.properties.

    2.Delete your project from eclipse.

    3.Again import your project into the eclipse.

    Now the problem must be solve.

    Please dont forget to give +1.

    0 讨论(0)
  • 2020-11-28 11:36

    When importing to Eclipse project, I accidentally did:

    BAD: Import... >> General >> Existing Proejcts into Workspace

    when I should have done instead:

    GOOD: Import... >> Android >> Existing Android Code Into Workspace

    Removing the project imported with first method, and then re-importing it with the second method solved the problem for me.

    (Others have written similar answers but I didn't get it until the explicit comparison.)

    0 讨论(0)
  • 2020-11-28 11:38

    I solved this problem by adding appcompatv7 library to my project, though I don't require this library(as I my project don't target lower versions) I don't know why I had to add this. Hope someone else can solve their problem by adding same.

    0 讨论(0)
  • 2020-11-28 11:40

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

    best option is create new workspace import the project ,fix the project its work

    0 讨论(0)
  • 2020-11-28 11:41

    Right click on project --> properties --> Android.

    Change the checkbox for project build target.

    Press apply.

    Change it back to your original build target.

    Press apply --> ok

    Worked for me

    0 讨论(0)
提交回复
热议问题