title: Error When trying to add a image on android studio (java)
body: <p>My script is post to show a image each time I run it on android studios but I keep on getting an error each time I try to run the script it's post to show funny picture of trumps face. I am not really sure why I keep on getting an error each time i run the script because it works when I put in a image of a smiley face. </p>
  
  <p>Here's the script:</p>
  
  <pre><code>package com.udacity.gamedev.logging;
  
  import com.badlogic.gdx.ApplicationAdapter;
  import com.badlogic.gdx.Gdx;
  import com.badlogic.gdx.graphics.GL20;
  import com.badlogic.gdx.graphics.Texture;
  import com.badlogic.gdx.graphics.g2d.SpriteBatch;
  
  public class LoggingDemo extends ApplicationAdapter {
  
      // TODO: Give your ApplicationListener a log TAG]
      public static final String TAG = LoggingDemo.class.getName();
  
  
      SpriteBatch batch;
      Texture img;
  
      @Override
      public void create() {
          batch = new SpriteBatch();
          img = new Texture("Trump.jpg");
  
          // TODO: Use Gdx.app to find what ApplicationType we're running
          // TODO: Use Gdx.app to log the result
          Gdx.app.log(TAG, "We're running on" +
                  Gdx.app.getType()
  
          );
  
      }
  
      @Override
      public void render() {
          Gdx.gl.glClearColor(1, 0, 0, 1);
          Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
          batch.begin();
          batch.draw(img, 0, 0);
          batch.end();
      }
  
      // TODO: Run the Desktop app and find your log message
      // TODO: Run the Android app and find your log message
  }
  </code></pre>
  
  <p>Here's the error:
  <a href="http://i.stack.imgur.com/UO5tk.jpg" rel="nofollow">enter image description here</a></p>