-
I'm creating an ionic capacitor app and I am having some issues in the Android version. DescriptionSpecifically at first I was having the following error when building the app (
After some research I concluded that this was a problem with Angular Ivy, so I added Following that I called:
and after succesfully opening Android Studio I ran the app on my phone (the app compiled and installed with no errors). However when I ran the app it would show the splash screen and then freeze in a white screen. On the android studio Run tab and on the Log tab the following error occurred:
Since it's very similar to the error before I'm pretty sure that they are related. Maybe disabling ivy on the Capacitor VersionThe output of the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I managed to solve the problem (it was a bug in my code). Specifically in one of my HTML files the following line was added by mistake: This was for some reason causing the build to fail when Angular Ivy was used. |
Beta Was this translation helpful? Give feedback.
I managed to solve the problem (it was a bug in my code).
I'm presenting the solution here in case someone else faces the same problem in the future.
Specifically in one of my HTML files the following line was added by mistake:
<link rel="stylesheet" href="../consultation-comment-card/consultation-comment-card.component.scss">
This was for some reason causing the build to fail when Angular Ivy was used.
The solution was simply to remove this line.