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

前端 未结 22 684
耶瑟儿~
耶瑟儿~ 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:43

    I got the default.properties error because the Android SDK wasn't installed on the machine I was using. What happened in my case was that I was setting up a second machine to development on.

    After installing the SDK, the project imported just fine. You don't have to do New Project.

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

    Yet another solution as my own reminder; I got this error with FacebookSDK, importing project fails to build because it doesn't have default.properties, it has project.properties.

    1. Create empty default.properties (right click -> new, file)
    2. Edit project properties, select android, check correct SDK version, hit ok
    3. Clean projects
    0 讨论(0)
  • 2020-11-28 11:44

    File-> Switch workspace -> newWorkSpace will solve the issue dx.jar

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

    When i imported a project from another pc into my workspace, there was the default.properties but no R.java. Editing the default.properties didnt generate R.java. I changed the skd version from 1.1 to 1.5 and the R.java file was generated and the project worked.

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

    In my case the file probably got deleted somehow. I just went to the SVN repository and reverted to the file.

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

    May be you are missing Third party library to like actionBarSherlock, slidingMenu, achartengine Add it into lib folder and Add to Build Path..

    Its work for me.

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