Hello! The Android version of our mobile app broke due to a Chrome update that rolled out a couple weeks ago. Our app was running a very old version of Capacitor (Capacitor 2), and in order to deploy the fixed build, I have to migrate the project to Capacitor 5 (as well as update any outdated plugins along the way). It’s been quite a journey and I’ve moved through several unsuccessful builds along the way.
On my current iteration, I’m encountering the following error:
> Task :app:compileReleaseJavaWithJavac FAILED
/builds/[...]/android/app/src/main/java/io/ionic/starter/MainActivity.java:16: error: cannot find symbol
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
^
symbol: method init(Bundle,<anonymous ArrayList<Class<? extends Plugin>>>)
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
This error takes place when attempting to initialize the Bridge, according to the surrounding comments in MainActivity.java.
I’ve spent the past week trying to get this app into production without any luck, and I’m hoping that one of you kind people can give me some guidance!