title: libgdx -- Gdx.files.internal(); --> File Not Found
body: <p>I've been having trouble using the Gdx.files.internal() from libgdx;
  it seems that every time I run it as a desktop application i get this main error:</p>
  
  <blockquote>
    <p>Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found:
    \data\sounds\music\mainmusic.mp3 (Internal)   at
    com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136)   at
    com.badlogic.gdx.backends.lwjgl.audio.Mp3$Music.(Mp3.java:42)
      ... 10 more</p>
  </blockquote>
  
  <p>I've read 5 separate threads in the matter, one of which seemed like was the most likely problem so I've tried...</p>
  
  <ol>
  <li>creating a data folder under assets  </li>
  <li>refreshing the eclipse explorer  </li>
  <li>Project > clean </li>
  <li>manually creating an assets/data folder in bin (in core)  </li>
  <li>triple checking file paths  </li>
  <li>restarting the IDE</li>
  </ol>
  
  <p>my complete path is in
  /Flipcrew Legends-desktop/assets/data/sounds/music/mainmusic.mp3</p>
  
  <p>public class SplashScreen implements Screen{</p>
  
  <pre><code>final FlipcrewLegends game;
  
  Texture splashTexture;
  Sprite splashSprite;
  SpriteBatch batch;
  TweenManager manager;
  Music introMusic;
  
  public SplashScreen(FlipcrewLegends game) {
      this.game = game;
  
      introMusic = Gdx.audio.newMusic(Gdx.files.internal("data/sounds/music/mainmusic.mp3"));
      introMusic.setLooping(true);
  
  }
  </code></pre>
  
  <p><em>This However... seems to be working..</em></p>
  
  <pre><code>@Override
  public void show() {
  
      splashTexture = new Texture("data/images/main/splash.png");
      splashTexture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
  
      splashSprite = new Sprite(splashTexture);
      splashSprite.setColor(1, 1, 1, 0);
  }
  </code></pre>
  
  <p>path: /Flipcrew Legends-desktop/assets/data/images/main/splash.png</p>
  
  <p>// Rest of class is omitted b/c it doesn't seem necessary (I can add it if requested)</p>
  
  <p>//unfortunately, Gdx.audio.newMusic doesnt seem to have a direct string path method so I couldn't try that out</p>
  
  <p>Additional Info:
  -> I've tried copying the assets folder in the desktop folder from core to no avail (deleted after)
  -> One thread said that libgdx usually takes the data from the android folder and then applies it to the desktop (unfortunately I started with only the desktop, no android) but I'm guessing libgdx has been nightly updated since the last date of that post, maybe an alternative has been added for that?</p>
  
  <p>edit:</p>
  
  <ol>
  <li><p>Just now after reverting assets/data/etc.... into assets/etc.....
  even the <code>new Texture(path);</code> is getting the same error - still doesn't work... retried methods above, will restart the computer after posting, might be a compiling issue.</p></li>
  <li><p>restarted computer, no difference</p></li>
  </ol>