title: Universal image loader cannot resolve getInstance
body: <p><br />
  I've been trying to use the universal image loader library for android for some time now, but I can't get it to work. Whenever I try to initialise the library, I get the error "cannot resolve method getInstance()"<br />
  My code is as follows:<br /></p>
  
  <pre><code>ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(this)
          ...
          .build();
  ImageLoader.getInstance().init(config);
  </code></pre>
  
  <p>I've tried to import the library using gradle and manually, but both with no luck. <br />
  Right now, I'm importing the library like this<br /></p>
  
  <pre><code>compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
  </code></pre>
  
  <p>I have tried to initialise the library in a class that extends Application, and in a class that extends Activity. I have also defined the activity and application in the manifest. <br />
  <br />
  What might cause this? <br />
  Best regards <br />
  Mikkel</p>