7

I only know the following properties and I would like to have a complete list.

This specifies the target API level (API level 17 in the example):

target=android-17

This specifies whether the project is a library:

android.library=true

This specifies the included libraries in the Android way (directories of the library projects are merged into the including project's corresponding directories):

android.library.reference.1=../relative/path/to/library/one
android.library.reference.2=../relative/path/to/library/two
...
android.library.reference.n=../relative/path/to/library/n

This specifies whether the manifest file (AndroidManifest.xml) of the library projects are merged into the including project's manifest file:

manifestmerger.enabled=true

I saw the first three in my projects (generated by Eclipse) and found the last one from SDK Tools - Revisions - SDK Tools, Revision 20 (June 2012), which is very difficult to find.

Would there be a complete list in the official site / documentations / Android source?

-- EDITED 2013/02/17 --

Thanks to android developer who reminded me the proguard.config property, which is left commented in the default project.property file.

This specifies the path to the ProGuard configuration file:

proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

Two variables are available: ${sdk.dir} and ${user.home}. More information could be found in the ProGuard Documentation.

Related Posts:

android - using the new “manifestmerger” property

Library Project does the manifest file merge?

Issue when using manifestmerger in release mode

Community
  • 1
  • 1

0 Answers0