title: The built failed likely due to AndroidX incompatibilities in a plugin,for plugin Workmanager in Flutter
body: <p>I wanted to run a background process in flutter.I used the code in <a href="https://pub.dev/packages/workmanager#-example-tab-" rel="nofollow noreferrer">https://pub.dev/packages/workmanager#-example-tab-</a> and added the dependency required in pubspec.yaml file.</p>
  
  <p>But I am getting "The built failed likely due to AndroidX incompatibilities in a plugin".The detail of the  which I am sharing in the screenshot below(2 images):</p>
  
  <p><a href="https://i.stack.imgur.com/NskMX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NskMX.png" alt="Output-screenshot 1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/z4nLK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z4nLK.png" alt="Output-screenshot 2"></a></p>
  
  <p>I tried checking my gradle.properties file as suggested in some posts.But useAndroidX,enableJetifier were set "true".The details of gradle.properties is below:</p>
  
  <p>android.useAndroidX=true
  android.enableJetifier=true</p>
  
  <p>This is my flutter doctor -v details:
  <a href="https://i.stack.imgur.com/OQg1h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OQg1h.png" alt="flutter doctor -v screenshot"></a></p>
  
  <p>The flutter build --verbose</p>
  
  <p><a href="https://i.stack.imgur.com/ecpnD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ecpnD.png" alt="flutter build --verbose"></a></p>