2010-05-17 11 views

Répondre

0

le script complet de construction est situé YOUR_SDK_FOLDER/plates-formes/SDKVERSION/templates/android_rules.xml

vous modifiez votre build.xml avec copie de ce fichier et le personnaliser. Je ne sais pas si ça va arriver là où vous voulez - mais il est un début

<!-- Execute the Android Setup task that will setup some properties specific to the target, 
      and import the rules files. 
      To customize the rules, copy/paste them below the task, and disable import by setting 
      the import attribute to false: 
       <setup import="false" /> 

      This will ensure that the properties are setup correctly but that your customized 
      targets are used. 
     --> 
0

Il y a une propriété java.compilerargs dans le fichier par défaut $SDKDIR/tools/ant/build.xml que vous pouvez remplacer dans le ant.properties dans votre projet, par exemple:

java.compilerargs=-Xlint:unchecked -Xlint:deprecation 
Questions connexes