Skip to content

Overwrite Themes.xml of Android 12 During platform adding #257

@RethySen995

Description

@RethySen995

Android it's required with themes.xml as below:

<style name="Theme.App.SplashScreen" parent="Theme.SplashScreen.IconBackground"> @color/cdv_splashscreen_background @drawable/ic_cdv_splashscreen 200 @style/Theme.AppCompat.NoActionBar </style> but during platform adding it's over write: <style name="MyTheme" parent="android:Theme.Holo.Light"> </style>

Cordova-android it's throws the errors
Cannot read properties of null (reading 'find')
TypeError: Cannot read properties of null (reading 'find')
node_modules\cordova-android\lib\prepare.js:387:49
at Array.forEach ().

so, How can we fix it? i hope you share it. thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions