title: not understanding compile errors in AIDL files
body: <p>I'm taking my first foray into Android services and having trouble with compile errors in AIDL files.  I am using Eclipse (with Android Development Tools) and Android 4.1.  I have the following AIDL files:</p>
  
  <p><em><strong>Weather.aidl</em></strong></p>
  
  <pre><code>package ws.hamacher.weatherservice.service;
  
  parcelable ws.hamacher.weatherservice.dto.Weather;
  </code></pre>
  
  <p>In this file, I get "interface ws.hamacher.weatherservice.dto.Weather should be declared in a file called ws\hamacher\weatherservice\service\ws.aidl." on the parcelable line, but this refers to my Java class!</p>
  
  <p><em><strong>IWeatherService.aidl</em></strong></p>
  
  <pre><code>package ws.hamacher.weatherservice.service;
  
  import ws.hamacher.weatherservice.service.Weather;
  
  interface IWeatherService {
      void addToWeatherService(in Weather weather);
      void deleteFromWeatherService(in Weather weather);
      List&lt;Weather&gt; getLocations();
  }
  </code></pre>
  
  <p>Here again, the import statement gives a similar error "interface ws.hamacher.weatherservice.dto.Weather should be declared in a file called ws\hamacher\weatherservice\service\ws.aidl."  This should be referring to the first file above right?</p>
  
  <p>Along with that, the method declarations all have errors, to the tune of "unknown type Weather".</p>
  
  <p>Any help would be appreciated.</p>