项目根目录下project.properties的记录项目中所需要的环境信息,比如Android的版本等
project.properties示例如下:
[html] view plaincopy
- # 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 edit
- # "ant.properties", and override values to adapt the script to your
- # project structure.
- #
- # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
- #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
- # Project target.
- target=android-17
将target=android-xx改为需要的版本即可
时间: 2024-10-11 14:00:17