title: React Native - error: method does not override or implement a method from a supertype
body: <p>React Native throws these errors when compiling...</p>
  
  <p>MainActivity.java:26:</p>
  
  <p>MainActivity.java:35: </p>
  
  <p>error: method does not override or implement a method from a supertype</p>
  
  <p>How should these two functions be changed? </p>
  
  <pre><code>public class MainActivity extends ReactActivity {
  
  
  @Override
  protected boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
  }
  
  
  @Override
  protected List&lt;ReactPackage&gt; getPackages() {
      return Arrays.&lt;ReactPackage&gt;asList(
          new MainReactPackage(),
          new BeaconsAndroidPackage()
      );
    }
  }
  </code></pre>
  
  <p>Thanks!</p>