title: Android: Couldn't find import for class java.util.ArrayList in aidl file
body: <p>I currently have a remote service which gets the users current location (this is all working fine). I now want to be able to get the users current location then add a to a list of previous locations. Here is my aidl file, where i'm having a problem :</p>
  
  <pre><code>import android.location.Location;
  import java.util.ArrayList; //error line: couldn't find import for class java.util.ArrayList
  
  interface ILocationService {
      Location getCurrentLocation();
      ArrayList&lt;Location&gt; getAllLocations();
  }
  </code></pre>
  
  <p>Any help would be much appreciated. Thanks.</p>