Closed Epameinondas-Theodoropoulos closed 2 years ago
Follow the instructions here: https://capacitorjs.com/docs/android/troubleshooting#error-package-androidsupport-does-not-exist
All you have to do is run these three lines in cmd:
npm install jetifier
npx jetify
npx cap sync android
@Epameinondas-Theodoropoulos does this problem still applies? May I close this issue?
I have the same issue when builidng with command:
ionic cordova build android -c=testing --release
I am trying to use github actions. I've added the 3 commands(npm install jetifier, npx jetify, npx cap sync android) but it appears that my android folder is created in platforms/android:
and my github action fails here:
Any thoughts on this approach? Thanks :)
Nevermind, I got it going in Github Actions by removing the npx cap sync android step:
Hope this can be of use for anyone else coming across similar issues.
Thank you for the feedback
This is related with Android X and I hope PR #364 will solve this issue
\android\capacitor-cordova-android-plugins\src\main\java\de\appplant\cordova\emailcomposer\Provider.java:22: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^