compileSdkVersion 28 to compileSdkVersion.If you created the adle file, update your project to use them. In android/adle file, add apply from: "adle" as shown here. If using Cordova or Capacitor plugins that don't use Android X yet, you can use jetifier tool to patch them.ĪndroidxLocalbroadcastmanagerVersion = '1.0.0' Then click on Migrate button and finally click on Do Refactor. gitignore file inside android folder with this changesįrom Migrate to AndroidX. The core project is kept simple on purpose: it shouldn't take much time to see what is different from the core project and your project. To update the base structure of your Android project, view the android-template project in the Capacitor repo, under the tag corresponding to the latest stable release of Capacitor. Then from Android Studio click the "Sync Project with Gradle Files" button.