title: android.content.res.Resources$NotFoundException: File res/mipmap-xxhdpi-v4/ic_launcher.png from xml type layout resource ID #0x7f030000 error
body: <p>I am getting the following run-time error: android.content.res.Resources$NotFoundException: File res/mipmap-xxhdpi-v4/ic_launcher.png from xml type layout resource ID #0x7f030000</p>
  
  <p>To my understanding it is a problem where the ic_launcher cannot be accessed however i unziped the compiled apk and i can see the image in the correct folder, so this leads me to believe that it is being caused by another problem.</p>
  
  <p>AndroidManifext:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.will.inspiredemo"&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  
  &lt;uses-feature android:name="android.hardware.camera" /&gt;
  &lt;uses-feature android:name="android.hardware.camera.autofocus" /&gt;
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme"
      &gt;
  
      &lt;meta-data
          android:name="com.dji.sdk.API_KEY"
          android:value="API-KEY"
          /&gt;
      &lt;activity
          android:name="MainActivity"
          android:label="@string/app_name"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;service
          android:name="org.connectbot.service.TerminalManager"
          android:configChanges="keyboardHidden|orientation" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>the error is occurring in here</p>
  
  <p>Java:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      DJIDrone.initWithType(this.getApplicationContext(), DJIDroneType.DJIDrone_Inspire1);
      new Thread() {
          public void run() {
              try {
                  DJIDrone.checkPermission(getApplicationContext(), new DJIGerneralListener() {
  
                      @Override
                      public void onGetPermissionResult(int result) {
                          // TODO Auto-generated method stub
  
                      }
                  });
              } catch (Exception e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
          }
      }.start();
  
  
          mDjiGLSurfaceView = (DjiInspireGLSurfaceView) findViewById(R.id.DjiSurfaceView);
  
          mDjiGLSurfaceView.start();
          try
          {
          DJIDrone.connectToDrone();
          }
          catch(Exception e)
          {
              System.out.println(e);
          }
          mReceivedVideoDataCallBack = new DJIReceivedVideoDataCallBack() {
  
              @Override
              public void onResult(byte[] videoBuffer, int size) {
                  // TODO Auto-generated method stub
                  //recvData = true;
                  mDjiGLSurfaceView.setDataToDecoder(videoBuffer, size);
              }
  
  
          };
  
          DJIDrone.getDjiCamera().setReceivedVideoDataCallBack(mReceivedVideoDataCallBack);
  
  
          mConnectStateTextView = (TextView) findViewById(R.id.ConnectStatePreviewTextView);
  
      }
  </code></pre>
  
  <p>Sorry for my English it is not my first language </p>