jonathanalberghini commented on issue #1553: URL: https://github.com/apache/cordova-android/issues/1553#issuecomment-1409696885
In my case with cordova 11 they are cleaned before the build has completed. see output below it is removing it before the build is complete `$ cross-env CORDOVA_PLATFORM=android vue-cli-service cordova-build-android ⠼ Building for production... WARNING Compiled with 2 warnings 10:06:08 AM warning asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: js/app.cfb8c76d.js (382 KiB) css/chunk-vendors.f5b80ee0.css (450 KiB) js/chunk-vendors.49a6bc86.js (652 KiB) warning entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: app (1.62 MiB) css/chunk-vendors.f5b80ee0.css js/chunk-vendors.49a6bc86.js css/app.0a99e3f5.css js/app.cfb8c76d.js File Size Gzipped www/js/chunk-vendors.49a6bc86.js 651.74 KiB 210.66 KiB www/js/app.cfb8c76d.js 382.40 KiB 54.11 KiB www/js/chunk-499abac6.03e5e054.js 3.90 KiB 1.75 KiB www/js/chunk-2d21a5c5.a81b9a0b.js 3.00 KiB 1.38 KiB www/js/chunk-2d0e9993.7b3657ef.js 2.75 KiB 1.33 KiB www/js/chunk-2d0aaf94.df2a6a9b.js 2.40 KiB 1.15 KiB www/js/chunk-2d2262ea.1c7f0404.js 2.06 KiB 1.02 KiB www/js/chunk-95df9744.44ba7d71.js 0.98 KiB 0.59 KiB www/js/chunk-61471f4c.d15b27b2.js 0.97 KiB 0.57 KiB www/js/chunk-11604a98.7e1cb444.js 0.85 KiB 0.53 KiB www/js/chunk-3ad08596.b389aa83.js 0.83 KiB 0.53 KiB www/js/chunk-0c321ec6.dfc75661.js 0.74 KiB 0.49 KiB www/js/chunk-2d0e8c8e.e253266c.js 0.55 KiB 0.41 KiB www/js/chunk-2d21ad78.9c1d55ae.js 0.55 KiB 0.40 KiB www/js/chunk-2d225232.99112fc2.js 0.54 KiB 0.40 KiB www/js/chunk-2d208107.c114d54e.js 0.37 KiB 0.28 KiB www/js/chunk-2d22dba2.4d1487a5.js 0.37 KiB 0.29 KiB www/css/chunk-vendors.f5b80ee0.css 450.47 KiB 54.39 KiB www/css/app.0a99e3f5.css 169.24 KiB 39.97 KiB www/css/chunk-499abac6.43091943.css 0.35 KiB 0.15 KiB www/css/chunk-0c321ec6.0e433876.css 0.00 KiB 0.02 KiB www/css/chunk-11604a98.0e433876.css 0.00 KiB 0.02 KiB www/css/chunk-3ad08596.0e433876.css 0.00 KiB 0.02 KiB www/css/chunk-61471f4c.0e433876.css 0.00 KiB 0.02 KiB www/css/chunk-95df9744.0e433876.css 0.00 KiB 0.02 KiB Images and other types of assets omitted. DONE Build complete. The www directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html INFO executing "cordova clean" in folder /Users/jalberghini/src/opportunistic-trader-mobile Checking Java JDK and Android SDK versions ANDROID_HOME=/Users/jalberghini/Library/Android/sdk (recommended setting) ANDROID_SDK_ROOT=/Users/jalberghini/Library/Android/sdk (DEPRECATED) Using Android SDK: /Users/jalberghini/Library/Android/sdk Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 747ms 1 actionable task: 1 executed Subproject Path: CordovaLib Subproject Path: app Configure project :app Adding classpath: com.google.gms:google-services:4.3.10 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 941ms 3 actionable tasks: 3 up-to-date Running command: xcodebuild -project Opportunistic Trader.xcodeproj -configuration Debug -alltargets clean Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project "Opportunistic Trader.xcodeproj" -configuration Debug -alltargets clean User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES ** CLEAN SUCCEEDED ** Running command: xcodebuild -project Opportunistic Trader.xcodeproj -configuration Release -alltargets clean Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project "Opportunistic Trader.xcodeproj" -configuration Release -alltargets clean User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES ** CLEAN SUCCEEDED ** INFO executing "cordova build android --release" in folder /Users/jalberghini/src/opportunistic-trader-mobile ENOENT: no such file or directory, open '/Users/jalberghini/src/opportunistic-trader-mobile/platforms/android/app/src/main/res/values/colors.xml' ✨ Done in 40.79s.` -- 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]
