title: MainActivity does not exist error in Android react-native
body: <p>So I'm getting the MainActivity does not exist error, it might be because I renamed the package and app from <code>bomber</code> to <code>Bomber</code> and changed the appId from <code>com.bomber</code> to <code>cool.bomber.android</code></p>
  
  <p>I've checked the AndroidManifest, the activity source files and the build.gradle file but I can't seem to find what's the mistake</p>
  
  <p>Error message</p>
  
  <pre><code>Starting: Intent { cmp=cool.bomber.android/.MainActivity }
  Error type 3
  Error: Activity class {cool.bomber.android/cool.bomber.android.MainActivity} does not exist.
  </code></pre>
  
  <p>app/build.gradle</p>
  
  <pre><code>android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "cool.bomber.android"
  ...
  </code></pre>
  
  <p>AndroidMaifest.xml</p>
  
  <p></p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/&gt;
  &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  
  &lt;uses-sdk
      android:minSdkVersion="16"
      android:targetSdkVersion="22" /&gt;
  
  &lt;application
    android:name=".MainApplication"
    android:allowBackup="true"
    android:label="@string/app_name"
    android:icon="@mipmap/ic_launcher"
    android:theme="@style/AppTheme"&gt;
    &lt;activity
      android:name=".MainActivity"
      android:launchMode="singleTask"
      android:label="@string/app_name"
      android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
      android:windowSoftInputMode="adjustResize"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;category android:name="com.google.intent.category.CARDBOARD" /&gt;
      &lt;/intent-filter&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.VIEW"/&gt;
          &lt;category android:name="android.intent.category.DEFAULT"/&gt;
          &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
          &lt;data android:host="foo.app.goo.gl" android:scheme="http"/&gt;
          &lt;data android:host="foo.app.goo.gl" android:scheme="https"/&gt;
      &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity android:name="com.facebook.react.devsupport.DevSettingsActivity" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>android/app/src/main/java/cool/bomber/android/MainActivity.java</p>
  
  <pre><code>package cool.bomber.android;    
  import com.facebook.react.ReactActivity;
  
  public class MainActivity extends ReactActivity {
      @Override
      protected String getMainComponentName() {
          return "Bomber";
      }
  }
  </code></pre>
  
  <p>I'm not sure what else I should be looking at to debug.</p>