title: Can't build because of The given artifact contains a string literal with a package reference 'android.support.design.widget'
body: <p>I can't run react-native run-android, build failed</p>
  
  <p>I've tried to reinstall android studio, check all the versions...</p>
  
  <p>The error message:</p>
  
  <blockquote>
    <p>The given artifact contains a string literal with a package reference 'android.support.design.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.</p>
  </blockquote>
  
  <p>the dependencies build gradle </p>
  
  <pre><code>dependencies {
      implementation project(':react-native-image-picker')
      implementation project(':react-native-gesture-handler')
      implementation project(':react-native-datetimepicker')
      api fileTree(dir: "libs", include: ["*.jar"])
      api'com.android.tools.build:gradle:3.5.1'
      api 'androidx.appcompat:appcompat:1.0.0'
      api "com.facebook.react:react-native:+"  // From node_modules
      //api "com.swmansion.gesturehandler.react:react-native-gesture-handler"
      api project(':libs:SalesforceReact') // From node_modules
  
      //project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
  
  }
  </code></pre>
  
  <p>I'd like to be able to run my build</p>