title: What's wrong with "no suitable method found for load"?
body: <p>Sound doesn't play when running my app in android, so suggested workarounds include AssetManager to preload files: I want to preload all files when class is initialized and play it later in a sub-function.</p>
  
  <p>The manager should be globally used in the class, but it seems the definition is not the problem (tried local implementation, same error). </p>
  
  <p>Here is the code:</p>
  
  <pre><code>public AssetManager manager=new AssetManager();
  
  public InterpreterAudioPlugin() {
      //Preload all sounds
      FileHandle sounds=Gdx.files.internal("Sound");
      for (FileHandle file: sounds.list()){
          manager.load(Gdx.files.internal(file.toString()),Music.class);
          manager.finishLoading();
      }
  </code></pre>
  
  <p>It pops an error at load saying "no suitable method found for load". Not sure what "no suitable method" means here, since googling it revealed it is very specific to the function after, in my case "load". Any help?</p>