title: Gradle sync failed: my project after update my Android studio from 3.0.1 to 3.1.0
body: <p>I have just updated my Android studio from 3.0.1 to 3.1.0 </p>
  
  <p>I am getting this error when <code>Global Gradle setting</code> offline work is disabled</p>
  
  <blockquote>
    <p>Could not GET
    '<a href="https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom" rel="noreferrer">https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom</a>'.
    Received status code 502 from server: Bad Gateway Enable Gradle
    'offline mode' and sync project</p>
  </blockquote>
  
  <p>I tried enabling the <code>Global Gradle setting</code> offline work then this error occurs</p>
  
  <blockquote>
    <p>No cached version of org.glassfish.jaxb:jaxb-runtime:2.2.11 available
    for offline mode. Disable Gradle 'offline mode' and sync project</p>
  </blockquote>