Project.properties file instead of default.properties file

前端 未结 1 1516
执笔经年
执笔经年 2021-02-15 16:45

I stumbled across something I can\'t figure out myself.

I have an android project with a reference to a library project. Now, the weird thing is that it seems like my d

相关标签:
1条回答
  • 2021-02-15 17:01

    I believe you've got an issue where (some of) your project files have become obsolete after an update to a newer Android SDK.

    Run this command in your project directory (you'll need to have ${ANDROID_HOME}/tools in your path):

    android update project -p .
    

    It will output something similar to (As of SDK 15):

    • Updated and renamed default.properties to project.properties
    • Updated local.properties
    • No project name specified, using Activity name 'MainActivity'. If you wish to change it, edit the first line of build.xml.
    • Added file ./build.xml
    • Updated file ./proguard.cfg

    My guess is that the Android team decided to become more standardized and to do away with their own deviations from standards.

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