har-123 commented on issue #1832:
URL: 
https://github.com/apache/cordova-android/issues/1832#issuecomment-3140098107

   Thanks, @breautek 
   
   Running the cordova prepare command with the --verbose flag helped pinpoint 
the issue. The stack trace revealed that the failure originated from the 
cordovaLib prepare.js file. Specifically, it was related to setting the 
windowOptOutE2E flag in the theme file.
   
   After explicitly adding the flag, the issue was resolved.
   
   The problematic lines where the build was failing were:
   
   ```
   const optOutE2EKey = 'android:windowOptOutEdgeToEdgeEnforcement';
   const optOutE2EItem = 
splashScreenTheme.find(`item[@name="${optOutE2EKey}"]`);
   const optOutE2EValue = !hasE2E ? 'true' : 'false';
   optOutE2EItem.text = optOutE2EValue;
   ```
   
   Appreciate your guidance!
   
   Closing this issue with this resolution.


-- 
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]

Reply via email to