katzer / cordova-plugin-email-composer

Edit and send email messages
Apache License 2.0
345 stars 336 forks source link

package androidx.core.content does not exist Android #378

Closed ludonoel1 closed 2 years ago

ludonoel1 commented 2 years ago

Hello, With my capacitorionic app, I have installed email-composer but when I try to build for android, I have this error: package: androidx.core.content does not exist.

I have tried to add library in Android Studio but doesn't work.

Do you have an idea please ?!

Thanks

jfoclpf commented 2 years ago

you have to install the androidx adapter

ionic cordova plugin add cordova-plugin-androidx-adapter

tell me if that works

ludonoel1 commented 2 years ago

you have to install the androidx adapter

ionic cordova plugin add cordova-plugin-androidx-adapter

tell me if that works

Thank you, but I am still having the same error...

jfoclpf commented 2 years ago

Yes, for Ionic/capacitor and androidx you have to

npm install jetifier
npx jetify
npx cap sync android

Does it work now?

ludonoel1 commented 2 years ago

Finally found another plugin

jfoclpf commented 2 years ago

which one?