- Maybe try upgrading to Capacitor 7?
- Have you tried removing
InAppPurchase2
to see if that is what is causing it? - Also, Capacitor 6 is only compatible with Java 17. Android Studio LadyBug defaults to Java 21 so you might need to change it. See Error during the build on Android Studio with @capacitor/barcode-scanner - #4 by twestrick