Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Android Build Errors: Unsupported Modules Detected and AndroidX dependencies

$
0
0

@ebellempire wrote:

I’m getting this error when building in Android Studio:

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled...

I followed the instructions to add the following to gradle.properties

android.useAndroidX=true
android.enableJetifier=true // installed as suggested in another post

This leads to a different error:

Unsupported Modules Detected
Compilation is not supported for following modules: 
capacitor-cordova-android-plugins
android-capacitor-cordova-android-plugins. 
Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

Can anyone share some insight about what’s happening here?

Plugins

cordova-plugin-google-analytics (1.9.0)
cordova-sqlite-storage (5.0.0)
es6-promise-plugin (4.2.2)

Ionic Info

Ionic:

   Ionic CLI                     : 6.9.1 (/Users/me/.nvm/versions/node/v13.12.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.7

   @angular-devkit/build-angular : 0.803.26
   @angular-devkit/schematics    : 8.3.26
   @angular/cli                  : 8.3.26
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 2.1.0
   @capacitor/core : 2.1.0

Utility:

   cordova-res : 0.14.0
   native-run  : 1.0.0

System:

   NodeJS : v13.12.0 (/Users/me/.nvm/versions/node/v13.12.0/bin/node)
   npm    : 6.14.5
   OS     : macOS Catalina

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>