fortunella opened a new issue, #1475:
URL: https://github.com/apache/cordova-android/issues/1475
# Bug Report
## Problem
### What is expected to happen?
Branding image is shown in the splash screen
### What does actually happen?
Error during build of the project.
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
I migrated my app project to cordova-android 11 and got the splash screen
working with the new API. Therefor I added these lines to config.xml:
```
<preference name="AndroidWindowSplashScreenAnimatedIcon"
value="resources/android/splash-android.png" />
<preference name="AndroidWindowSplashScreenBackground" value="#FF0000" />
```
This works fine. I then wanted to add a branding image to the bottom of the
splash screen with this setting:
```
<preference name="AndroidWindowSplashScreenBrandingImage"
value="resources/android/brand-image.png" />
```
When I then build the project I get this error:
```
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
ERROR:/home/ralf/myAppBuild/platforms/android/app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values/values.xml:2210:
AAPT: error: style attribute 'attr/windowSplashScreenBrandingImage (aka
de.foonax.myapp:attr/windowSplashScreenBrandingImage)' not found.
```
The specified image file exists at the specified location.
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
cordova-android: 11.0.0
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]