title: react-native run-android fails with "Task :app:compileDebugJavaWithJavac FAILED" After installing react-native-fbsdk
body: <p>After following the installation instructions of <a href="https://github.com/facebook/react-native-fbsdk#react-native-fbsdk" rel="nofollow noreferrer">react-native-fbsdk</a>, the command 
      react-native run-android 
  fails with the following error:</p>
  
  <pre><code>info JS server already running.
  info Building and installing the app on the device (cd android &amp;&amp; gradlew.bat app:installDebug)...
  
  &gt; Task :app:compileDebugJavaWithJavac FAILED
  C:\projects\veida\veida_v1\Erua3\android\app\src\main\java\com\erua3\MainActivity.java:12: error: cannot find symbol
      public void onActivityResult(int requestCode, int resultCode, Intent data) {
                                                                    ^
    symbol:   class Intent
    location: class MainActivity
  1 error
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':app:compileDebugJavaWithJavac'.
  &gt; Compilation failed; see the compiler error output for details.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 4s
  24 actionable tasks: 1 executed, 23 up-to-date
  error Could not install the app on the device, read the error above for details.
  Make sure you have an Android emulator running or a device connected and have
  set up your Android development environment:
  https://facebook.github.io/react-native/docs/getting-started.html
  error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
  </code></pre>
  
  <p>I have tried reinstalling android studio and following the installation steps two times with two new projects.</p>
  
  <p>My App.js is the default App.js. I have also tried using the example App.js with the facebook login.</p>