title: Proguard error : Unknown option '-optimizationpasses'
body: <p>My Proguard builds used to work in earlier Android SDKs (pre-10), but not any more, and its a very basic error - see below:</p>
  
  <p>C:\development\android-sdk-windows\tools\ant\main_rules.xml:453: Unknown option
  '-optimizationpasses' in line 1 of file 'C:\Users\Richard\Desktop\CodeWordTEST\p
  roguard.cfg'</p>
  
  <p>i.e. proguard fails on the first line.
  Interestingly, if I remove the  '-optimizationpasses' command it manages to go a little further through the proguard options, but then fails on '-dontpreverify'</p>
  
  <p>Something seems to have changed, so I went back to basics.</p>
  
  <p>I built a project from the command line, to get the default build.xml and proguard.cfg files.</p>
  
  <p>Still the same error.</p>
  
  <p>Environment:</p>
  
  <ul>
  <li><p>Windows 7</p></li>
  <li><p>ADT Version: 11.0.0.v201105251008-128486</p></li>
  <li><p>Ant 1.8.1</p></li>
  <li><p>no other Proguard in the env path</p></li>
  </ul>
  
  <p>proguard.cfg contents (=default as auto-generated by android cmd line):</p>
  
  <p>-optimizationpasses 5</p>
  
  <p>-dontusemixedcaseclassnames</p>
  
  <p>-dontskipnonpubliclibraryclasses</p>
  
  <p>-dontpreverify</p>
  
  <p>-verbose</p>
  
  <p>-optimizations !code/simplification/arithmetic,!field/<em>,!class/merging/</em></p>
  
  <p>etc...</p>
  
  <p>Any ideas what might be causing the problem?</p>
  
  <p>Thanks in advance...</p>