You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/07/19 03:26:12 UTC

[GitHub] [cordova-android] erisu commented on issue #1461: Cordova 11.0.0 + Android 11.0.0 - cordova prepare android --debug command fails

erisu commented on issue #1461:
URL: https://github.com/apache/cordova-android/issues/1461#issuecomment-1188552819

   > We do not want to display a splash screen at all, and the only way to do so is to include the `cordova-plugin-spashscreen` and then turn it off using `<preference name="SplashScreen" value="none"/>`. 
   
   You should not install `cordova-plugin-spashscreen` with Cordova-Android 11, in fact `cordova-plugin-spashscreen@6.0.2` will not install for Cordova-Android 11. The next major release of `cordova-plugin-spashscreen` will actually delete all of the source code for Android.
   
   Also the preference only controlled the `cordova-plugin-spashscreen`'s SplashScreen.
   
   As @breautek pointed out
   
   > Android now enforces the splashscreen on Android 12 or later.
   
   It also includes their design requirements and for Cordova-Android to continue to support older devices with consistency the compatibility library was added. This means there is no way to turn of the SplashScreen.
   
   As for the error, maybe try deleting the entire `platforms` directory and then run `cordova prepare` so it can recreate the entire directory from scratch. I noticed `cordova-plugin-firebasex` has created also a default `colors.xml` file with no values. It might be overwritting the file and therefore it cant find the key.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org