title: Ionic android build error after migrating to androidx
body: <p>I am working on an ionic 3 project.i had to migrate to androidx due to a sudden build issue. I created the android platform with cordova-android@8.0.0 version and i did the needful but now i'm getting some other errors while building the android platform</p>
  
  <p>I created the android platform with cordova-android version 8.0.0.</p>
  
  <p>Added below lines to gradle.properties file</p>
  
  <p>android.useAndroidX=true
  android.enableJetifier=true</p>
  
  <p>Updated the plugins to the latest</p>
  
  <p>this is my project.properties file</p>
  
  <pre><code>target=android-28
  android.library.reference.1=CordovaLib
  android.library.reference.2=app
  cordova.gradle.include.2=cordova-plugin-appsflyer-sdk/userapp-cordovaAF.gradle
  cordova.system.library.1=com.facebook.android:facebook-android-sdk:4.40.0
  cordova.gradle.include.3=cordova-plugin-firebase/userapp-build.gradle
  cordova.system.library.2=com.google.android.gms:play-services-tagmanager:+
  cordova.system.library.10=com.google.firebase:firebase-core:17.0.0
  cordova.system.library.11=com.google.firebase:firebase-messaging:19.0.0
  cordova.system.library.12=com.google.firebase:firebase-config:18.0.0
  cordova.system.library.13=com.google.firebase:firebase-perf:18.0.0
  cordova.gradle.include.4=cordova-plugin-googlemaps/userapp-tbxml-android.gradle
  cordova.gradle.include.5=cordova-plugin-googlemaps/userapp-apikey.gradle
  cordova.system.library.7=com.google.android.gms:play-services-maps:15.0.1
  cordova.system.library.8=com.google.android.gms:play-services-location:15.0.1
  cordova.system.library.9=com.android.support:support-core-utils:27.+
  cordova.system.library.10=com.mixpanel.android:mixpanel-android:5.6.0
  cordova.system.library.11=com.google.android.gms:play-services-base:+
  cordova.system.library.14=com.android.support:support-v4:28.+
  cordova.system.library.15=com.android.support:appcompat-v7:28.+
  cordova.system.library.3=com.android.support:support-v4:28.+
  cordova.system.library.4=com.android.support:appcompat-v7:28.+
  </code></pre>
  
  <p>When i build the project now im getting below mentioned errors</p>
  
  <pre><code>error: cannot find symbol
  import android.support.v4.app.ActivityCompat;
                               ^
   cannot find symbol
  import android.support.v4.os.EnvironmentCompat;
  
  error: cannot find symbol
            public void onConnectionFailed(@NonNull ConnectionResult result) {
                                            ^
  </code></pre>
  
  <p>Any help would be much appreciated.Thanks</p>