title: com.android.ddmlib.InstallException: Failed to establish session react-native
body: <p>I am trying to run react-native android app in my nexus5 emulator </p>
  
  <pre><code>adb devices
  List of devices attached
  emulator-5554   device
  </code></pre>
  
  <p>started packager <code>react-native start</code></p>
  
  <p>running app - <code>react-native run-android</code></p>
  
  <p>Installing APK 'app-debug.apk' on 'reactnative(AVD) - 6.0'
  Unable to install examples/android/app/build/outputs/apk/app-debug.apk</p>
  
  <pre><code>com.android.ddmlib.InstallException: Failed to establish session
          at com.android.ddmlib.Device.installPackages(Device.java:894)
          at com.android.builder.testing.ConnectedDevice.installPackages(ConnectedDevice.java:113)
          at com.android.builder.testing.ConnectedDevice$installPackages$0.call(Unknown Source)
          at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
          at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
          at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
          at com.android.build.gradle.internal.tasks.InstallVariantTask.install(InstallVariantTask.groovy:119)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:483)
          at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
          at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
  </code></pre>