2010-05-17 4 views

답변

0

전체 빌드 스크립트가 위치한 YOUR_SDK_FOLDER/플랫폼/SDKVERSION/템플릿/android_rules.xml

이 파일의 사본을 당신의 build.xml 파일을 수정하고 사용자 정의 할 수 있습니다. 확실하지 당신이 원하는 곳은 얻을 것이다 경우 - 그러나 그것은 시작의 같은 프로젝트에 ant.properties에서 무시할 수있는 기본 $SDKDIR/tools/ant/build.xml 파일의 java.compilerargs 재산이

<!-- 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

:

java.compilerargs=-Xlint:unchecked -Xlint:deprecation 
관련 문제