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

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

    First Close your project.

    Open a Text File then Add target=android-your_Api_Level.

    Such as: target=android-7 And then Save that file as project.properties Then manually place project.properties file into your Project's Folder and then Reopen you project.

    The file generally looks like:

    # This file is automatically generated by Android Tools.
    # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
    #
    # This file must be checked in Version Control Systems.
    #
    # To customize properties used by the Ant build system use,
    # "ant.properties", and override values to adapt the script to your
    # project structure.
    
    # Project target.
    target=android-7
    

提交回复
热议问题