You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin tries to create a file themes.xml in platforms\android\app\src\main\res\values\
where as, android@11 platform add, already creates one before hand, hence the installation fails.
If you try to install the plugin with --force, the default themes.xml changes and there after the build keeps failing.
Solution : I took a back up of the platforms\android\app\src\main\res\values android default themes.xml file and then installed the plugin using --force. After installation, I appended the initial lines from themes.xml (back up file) into the newly created themes.xml file by the plugin. And it worked.
The text was updated successfully, but these errors were encountered:
pixellet14
changed the title
Installation fails with Android@11, Build fails in installed using --force
Installation fails with Android@11, Build fails if installed using --force
Nov 3, 2022
The plugin tries to create a file themes.xml in platforms\android\app\src\main\res\values\
where as, android@11 platform add, already creates one before hand, hence the installation fails.
If you try to install the plugin with --force, the default themes.xml changes and there after the build keeps failing.
Solution : I took a back up of the platforms\android\app\src\main\res\values android default themes.xml file and then installed the plugin using --force. After installation, I appended the initial lines from themes.xml (back up file) into the newly created themes.xml file by the plugin. And it worked.
The text was updated successfully, but these errors were encountered: