thoosongtan@gmail.com VoltBuilder run started at 2020-08-30 22:19:41.727852 Plan: Pro Preflight Check Output: Thanks for opting into telemetry to help us improve cordova. Output: Creating a new cordova project. Output: Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 999,999 days for: CN=thoo song tan, OU=nil, O=nil, C=sg [Storing certificates/android.keystore] Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore certificates/android.keystore -destkeystore certificates/android.keystore -deststoretype pkcs12". Output: No version supplied. Retrieving version from config.xml... Using cordova-fetch for cordova-android@9.0.0 fetch: Installing cordova-android@9.0.0 to Running command: npm install cordova-android@9.0.0 --save-dev Command finished with error code 0: npm install,cordova-android@9.0.0,--save-dev Removing "cordova-" prefix from cordova-android Adding android project... Platform API successfully found in: /node_modules/cordova-android Creating Cordova project for the Android platform: Path: platforms/android Package: com.TsTan.MentalHelp Name: MentalHelp Activity: MainActivity Android target: android-29 Copying android template project to platforms/android Subproject Path: CordovaLib Subproject Path: app Android project created with cordova-android@9.0.0 Platform API successfully found in: /platforms/android/cordova/Api.js Generating platform-specific config.xml from defaults for android at /platforms/android/app/src/main/res/xml/config.xml Merging project's config.xml into platform-specific android config.xml [Gradle Properties] Preparing Configuration [Gradle Properties] File missing, creating file with Cordova defaults. [Gradle Properties] Appending default configuration properties [Gradle Properties] Appending configuration item: org.gradle.daemon=true [Gradle Properties] Appending configuration item: org.gradle.jvmargs=-Xmx2048m [Gradle Properties] Appending configuration item: android.useAndroidX=false [Gradle Properties] Appending configuration item: android.enableJetifier=false [Gradle Properties] Appending custom configuration properties [Gradle Properties] Updating and Saving File Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www copy www/code.js platforms/android/app/src/main/assets/www/code.js (new file) mkdir platforms/android/app/src/main/assets/www/cordova-js-src mkdir platforms/android/app/src/main/assets/www/cordova-js-src/android copy platforms/android/platform_www/cordova-js-src/android/nativeapiprovider.js platforms/android/app/src/main/assets/www/cordova-js-src/android/nativeapiprovider.js (new file) copy platforms/android/platform_www/cordova-js-src/android/promptbasednativeapi.js platforms/android/app/src/main/assets/www/cordova-js-src/android/promptbasednativeapi.js (new file) copy platforms/android/platform_www/cordova-js-src/exec.js platforms/android/app/src/main/assets/www/cordova-js-src/exec.js (new file) copy platforms/android/platform_www/cordova-js-src/platform.js platforms/android/app/src/main/assets/www/cordova-js-src/platform.js (new file) mkdir platforms/android/app/src/main/assets/www/cordova-js-src/plugin mkdir platforms/android/app/src/main/assets/www/cordova-js-src/plugin/android copy platforms/android/platform_www/cordova-js-src/plugin/android/app.js platforms/android/app/src/main/assets/www/cordova-js-src/plugin/android/app.js (new file) copy platforms/android/platform_www/cordova.js platforms/android/app/src/main/assets/www/cordova.js (updated file) delete platforms/android/app/src/main/assets/www/css (no source) delete platforms/android/app/src/main/assets/www/css/index.css (no source) mkdir platforms/android/app/src/main/assets/www/electron mkdir platforms/android/app/src/main/assets/www/electron/nsb mkdir platforms/android/app/src/main/assets/www/electron/nsb/images copy www/electron/nsb/images/72.png platforms/android/app/src/main/assets/www/electron/nsb/images/72.png (new file) delete platforms/android/app/src/main/assets/www/img (no source) delete platforms/android/app/src/main/assets/www/img/cordova.png (no source) delete platforms/android/app/src/main/assets/www/img/logo.png (no source) copy www/index.html platforms/android/app/src/main/assets/www/index.html (updated file) delete platforms/android/app/src/main/assets/www/js (no source) delete platforms/android/app/src/main/assets/www/js/index.js (no source) mkdir platforms/android/app/src/main/assets/www/nsb mkdir platforms/android/app/src/main/assets/www/nsb/images copy www/nsb/images/192.png platforms/android/app/src/main/assets/www/nsb/images/192.png (new file) copy www/nsb/images/512.png platforms/android/app/src/main/assets/www/nsb/images/512.png (new file) copy www/nsb/images/72.png platforms/android/app/src/main/assets/www/nsb/images/72.png (new file) copy www/nsb/images/ajax-loader.gif platforms/android/app/src/main/assets/www/nsb/images/ajax-loader.gif (new file) mkdir platforms/android/app/src/main/assets/www/nsb/library copy www/nsb/library/appstudioFunctions.js platforms/android/app/src/main/assets/www/nsb/library/appstudioFunctions.js (new file) copy www/nsb/library/basicFunctions.js platforms/android/app/src/main/assets/www/nsb/library/basicFunctions.js (new file) copy www/nsb/library/iscroll.js platforms/android/app/src/main/assets/www/nsb/library/iscroll.js (new file) copy www/nsb/library/jquery.modal.min.css platforms/android/app/src/main/assets/www/nsb/library/jquery.modal.min.css (new file) copy www/nsb/library/jquery.modal.min.js platforms/android/app/src/main/assets/www/nsb/library/jquery.modal.min.js (new file) copy www/nsb/library/jquery3.js platforms/android/app/src/main/assets/www/nsb/library/jquery3.js (new file) mkdir platforms/android/app/src/main/assets/www/toolbox mkdir platforms/android/app/src/main/assets/www/toolbox/as mkdir platforms/android/app/src/main/assets/www/toolbox/as/dist copy www/toolbox/as/dist/asStyle.css platforms/android/app/src/main/assets/www/toolbox/as/dist/asStyle.css (new file) mkdir platforms/android/app/src/main/assets/www/toolbox/bs4 mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist copy www/toolbox/bs4/dist/bsFunctions.min.js platforms/android/app/src/main/assets/www/toolbox/bs4/dist/bsFunctions.min.js (new file) mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist/css copy www/toolbox/bs4/dist/css/bootstrap.min.css platforms/android/app/src/main/assets/www/toolbox/bs4/dist/css/bootstrap.min.css (new file) mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist/js copy www/toolbox/bs4/dist/js/bootstrap.bundle.min.js platforms/android/app/src/main/assets/www/toolbox/bs4/dist/js/bootstrap.bundle.min.js (new file) mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist/open-iconic mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist/open-iconic/css copy www/toolbox/bs4/dist/open-iconic/css/open-iconic-bootstrap.min.css platforms/android/app/src/main/assets/www/toolbox/bs4/dist/open-iconic/css/open-iconic-bootstrap.min.css (new file) mkdir platforms/android/app/src/main/assets/www/toolbox/bs4/dist/open-iconic/fonts copy www/toolbox/bs4/dist/open-iconic/fonts/open-iconic.woff platforms/android/app/src/main/assets/www/toolbox/bs4/dist/open-iconic/fonts/open-iconic.woff (new file) Wrote out android application name "MentalHelp" to /platforms/android/app/src/main/res/values/strings.xml Wrote out Android package name "com.TsTan.MentalHelp" to /platforms/android/app/src/main/java/com/TsTan/MentalHelp/MainActivity.java Updating icons at platforms/android/app/src/main/res delete platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-hdpi-icon.png platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (updated file) delete platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-ldpi-icon.png platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png (updated file) delete platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-mdpi-icon.png platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (updated file) delete platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-xhdpi-icon.png platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (updated file) delete platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-xxhdpi-icon.png platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (updated file) delete platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher.xml (no source) delete platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_background.png (no source) delete platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png (no source) copy resources/android/icon/drawable-xxxhdpi-icon.png platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (updated file) Updating splash screens at platforms/android/app/src/main/res copy resources/android/splash/drawable-land-hdpi-screen.png platforms/android/app/src/main/res/drawable-land-hdpi/screen.png (updated file) copy resources/android/splash/drawable-land-ldpi-screen.png platforms/android/app/src/main/res/drawable-land-ldpi/screen.png (updated file) copy resources/android/splash/drawable-land-mdpi-screen.png platforms/android/app/src/main/res/drawable-land-mdpi/screen.png (updated file) copy resources/android/splash/drawable-land-xhdpi-screen.png platforms/android/app/src/main/res/drawable-land-xhdpi/screen.png (updated file) copy resources/android/splash/drawable-land-xxhdpi-screen.png platforms/android/app/src/main/res/drawable-land-xxhdpi/screen.png (updated file) copy resources/android/splash/drawable-land-xxxhdpi-screen.png platforms/android/app/src/main/res/drawable-land-xxxhdpi/screen.png (updated file) copy resources/android/splash/drawable-port-hdpi-screen.png platforms/android/app/src/main/res/drawable-port-hdpi/screen.png (updated file) copy resources/android/splash/drawable-port-ldpi-screen.png platforms/android/app/src/main/res/drawable-port-ldpi/screen.png (updated file) copy resources/android/splash/drawable-port-mdpi-screen.png platforms/android/app/src/main/res/drawable-port-mdpi/screen.png (updated file) copy resources/android/splash/drawable-port-xhdpi-screen.png platforms/android/app/src/main/res/drawable-port-xhdpi/screen.png (updated file) copy resources/android/splash/drawable-port-xxhdpi-screen.png platforms/android/app/src/main/res/drawable-port-xxhdpi/screen.png (updated file) copy resources/android/splash/drawable-port-xxxhdpi-screen.png platforms/android/app/src/main/res/drawable-port-xxxhdpi/screen.png (updated file) This app does not have additional resource files defined Prepared android project successfully No scripts found for hook "before_prepare". Checking for saved platforms that haven't been added to the project Platform 'android' found in config.xml... Migrating it to package.json Checking for saved plugins that haven't been added to the project Plugin 'cordova-plugin-splashscreen' found in config.xml... Migrating it to package.json Plugin 'cordova-plugin-statusbar' found in config.xml... Migrating it to package.json Plugin 'cordova-plugin-wkwebview-engine' found in config.xml... Migrating it to package.json Discovered plugin "cordova-plugin-whitelist". Adding it to the project No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "cordova-plugin-whitelist@^1.3.4" fetch: Installing cordova-plugin-whitelist@^1.3.4 to Running command: npm install cordova-plugin-whitelist@^1.3.4 --save-dev Command finished with error code 0: npm install,cordova-plugin-whitelist@^1.3.4,--save-dev Copying plugin "/node_modules/cordova-plugin-whitelist" => "/plugins/cordova-plugin-whitelist" Calling plugman.install on plugin "/plugins/cordova-plugin-whitelist" for platform "android Installing "cordova-plugin-whitelist" for android Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-whitelist on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-whitelist" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-whitelist on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-whitelist on android platform only. No scripts found for hook "after_plugin_install". Adding cordova-plugin-whitelist to package.json No scripts found for hook "after_plugin_add". Discovered plugin "cordova-plugin-splashscreen". Adding it to the project No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-splashscreen, retrieving version from config.xml No version for cordova-plugin-splashscreen saved in config.xml or package.json Attempting to use npm info for cordova-plugin-splashscreen to choose a compatible release Ignoring invalid version in cordova-plugin-splashscreen cordovaDependencies: >=4.0.0 (must be a single version <= latest or an upper bound) Ignoring invalid version in cordova-plugin-splashscreen cordovaDependencies: 7.0.0 (must be a single version <= latest or an upper bound) Calling plugman.fetch on plugin "cordova-plugin-splashscreen@6.0.0" fetch: Installing cordova-plugin-splashscreen@6.0.0 to Running command: npm install cordova-plugin-splashscreen@6.0.0 --save-dev Command finished with error code 0: npm install,cordova-plugin-splashscreen@6.0.0,--save-dev Copying plugin "/node_modules/cordova-plugin-splashscreen" => "/plugins/cordova-plugin-splashscreen" Calling plugman.install on plugin "/plugins/cordova-plugin-splashscreen" for platform "android Installing "cordova-plugin-splashscreen" for android Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-splashscreen on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-splashscreen" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-splashscreen on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-splashscreen on android platform only. No scripts found for hook "after_plugin_install". Adding cordova-plugin-splashscreen to package.json No scripts found for hook "after_plugin_add". Discovered plugin "cordova-plugin-statusbar". Adding it to the project No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-statusbar, retrieving version from config.xml No version for cordova-plugin-statusbar saved in config.xml or package.json Attempting to use npm info for cordova-plugin-statusbar to choose a compatible release Ignoring invalid version in cordova-plugin-statusbar cordovaDependencies: 3.0.0 (must be a single version <= latest or an upper bound) Calling plugman.fetch on plugin "cordova-plugin-statusbar@2.4.3" fetch: Installing cordova-plugin-statusbar@2.4.3 to Running command: npm install cordova-plugin-statusbar@2.4.3 --save-dev Command finished with error code 0: npm install,cordova-plugin-statusbar@2.4.3,--save-dev Copying plugin "/node_modules/cordova-plugin-statusbar" => "/plugins/cordova-plugin-statusbar" Calling plugman.install on plugin "/plugins/cordova-plugin-statusbar" for platform "android Installing "cordova-plugin-statusbar" for android Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-statusbar on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-statusbar" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-statusbar on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-statusbar on android platform only. No scripts found for hook "after_plugin_install". Adding cordova-plugin-statusbar to package.json No scripts found for hook "after_plugin_add". Discovered plugin "cordova-plugin-wkwebview-engine". Adding it to the project No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-wkwebview-engine, retrieving version from config.xml No version for cordova-plugin-wkwebview-engine saved in config.xml or package.json Attempting to use npm info for cordova-plugin-wkwebview-engine to choose a compatible release Ignoring invalid version in cordova-plugin-wkwebview-engine cordovaDependencies: 2.0.0 (must be a single version <= latest or an upper bound) Ignoring cordova-plugin-wkwebview-engine cordovaDependencies entry because it did not contain any valid plugin version entries Calling plugman.fetch on plugin "cordova-plugin-wkwebview-engine" fetch: Installing cordova-plugin-wkwebview-engine to Running command: npm install cordova-plugin-wkwebview-engine --save-dev Command finished with error code 0: npm install,cordova-plugin-wkwebview-engine,--save-dev Copying plugin "/node_modules/cordova-plugin-wkwebview-engine" => "/plugins/cordova-plugin-wkwebview-engine" Calling plugman.install on plugin "/plugins/cordova-plugin-wkwebview-engine" for platform "android Installing "cordova-plugin-wkwebview-engine" for android Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-wkwebview-engine on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-wkwebview-engine" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-wkwebview-engine on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-wkwebview-engine on android platform only. No scripts found for hook "after_plugin_install". Adding cordova-plugin-wkwebview-engine to package.json No scripts found for hook "after_plugin_add". Generating platform-specific config.xml from defaults for android at /platforms/android/app/src/main/res/xml/config.xml Merging project's config.xml into platform-specific android config.xml [Gradle Properties] Preparing Configuration [Gradle Properties] Appending default configuration properties [Gradle Properties] Appending custom configuration properties [Gradle Properties] Updating and Saving File Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www copy platforms/android/platform_www/cordova_plugins.js platforms/android/app/src/main/assets/www/cordova_plugins.js (updated file) copy platforms/android/platform_www/plugins/cordova-plugin-splashscreen/www/splashscreen.js platforms/android/app/src/main/assets/www/plugins/cordova-plugin-splashscreen/www/splashscreen.js (updated file) copy platforms/android/platform_www/plugins/cordova-plugin-statusbar/www/statusbar.js platforms/android/app/src/main/assets/www/plugins/cordova-plugin-statusbar/www/statusbar.js (updated file) Wrote out android application name "MentalHelp" to /platforms/android/app/src/main/res/values/strings.xml Wrote out Android package name "com.TsTan.MentalHelp" to /platforms/android/app/src/main/java/com/TsTan/MentalHelp/MainActivity.java Updating icons at platforms/android/app/src/main/res Updating splash screens at platforms/android/app/src/main/res This app does not have additional resource files defined Prepared android project successfully No scripts found for hook "after_prepare". Saving android@9.0.0 into platforms.json Output: Cordova Packages: cli: 10.0.0 common: 4.0.2 create: 3.0.0 lib: 10.0.0 common: 4.0.2 fetch: 3.0.0 serve: 4.0.0 Project Installed Platforms: android: 9.0.0 Project Installed Plugins: cordova-plugin-splashscreen: 6.0.0 cordova-plugin-statusbar: 2.4.3 cordova-plugin-whitelist: 1.3.4 cordova-plugin-wkwebview-engine: 1.2.1 Environment: OS: macOS Catalina 10.15.6 (19G2021) (darwin 19.6.0) x64 Node: v12.18.3 npm: 6.14.7 android Environment: android: ERROR: Command failed with ENOENT: android list target spawn android ENOENT Project Setting Files: config.xml: MentalHelp to help solve some simple problem faced by mentally troubled person package.json: --- Start of Cordova JSON Snippet --- { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-wkwebview-engine": {} }, "platforms": [ "android" ] } --- End of Cordova JSON Snippet --- Output: Checking for saved platforms that haven't been added to the project Platform API successfully found in: /platforms/android/cordova/Api.js Checking for saved plugins that haven't been added to the project Generating platform-specific config.xml from defaults for android at /platforms/android/app/src/main/res/xml/config.xml Merging project's config.xml into platform-specific android config.xml [Gradle Properties] Preparing Configuration [Gradle Properties] Appending default configuration properties [Gradle Properties] Appending custom configuration properties [Gradle Properties] Updating and Saving File Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www Wrote out android application name "MentalHelp" to /platforms/android/app/src/main/res/values/strings.xml Wrote out Android package name "com.TsTan.MentalHelp" to /platforms/android/app/src/main/java/com/TsTan/MentalHelp/MainActivity.java Updating icons at platforms/android/app/src/main/res Updating splash screens at platforms/android/app/src/main/res This app does not have additional resource files defined Prepared android project successfully Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=/Users/voltbuilder/Code/android-sdk (recommended setting) ANDROID_HOME=undefined (DEPRECATED) Using Android SDK: /Users/voltbuilder/Code/android-sdk Reading build config file: /build.json Reading the keystore from: /certificates/android.keystore > Task :wrapper BUILD SUCCESSFUL in 447ms 1 actionable task: 1 executed Subproject Path: CordovaLib Subproject Path: app Gradle Distribution URL: https://services.gradle.org/distributions/gradle-6.5-all.zip > Task :app:preBuild UP-TO-DATE > Task :app:preReleaseBuild UP-TO-DATE > Task :CordovaLib:preBuild UP-TO-DATE > Task :CordovaLib:preReleaseBuild UP-TO-DATE > Task :CordovaLib:compileReleaseAidl NO-SOURCE > Task :app:compileReleaseAidl NO-SOURCE > Task :CordovaLib:packageReleaseRenderscript NO-SOURCE > Task :app:compileReleaseRenderscript NO-SOURCE > Task :app:generateReleaseBuildConfig > Task :app:generateReleaseResValues > Task :app:generateReleaseResources > Task :CordovaLib:compileReleaseRenderscript > Task :CordovaLib:generateReleaseResValues > Task :CordovaLib:generateReleaseResources > Task :CordovaLib:packageReleaseResources > Task :app:createReleaseCompatibleScreenManifests > Task :app:extractDeepLinksRelease > Task :CordovaLib:extractDeepLinksRelease > Task :CordovaLib:processReleaseManifest > Task :app:processReleaseManifest > Task :CordovaLib:generateReleaseBuildConfig > Task :CordovaLib:parseReleaseLocalResources > Task :app:prepareLintJar > Task :CordovaLib:prepareLintJarForPublish > Task :app:checkReleaseDuplicateClasses > Task :app:desugarReleaseFileDependencies > Task :app:javaPreCompileRelease > Task :app:mergeReleaseShaders > Task :app:compileReleaseShaders NO-SOURCE > Task :app:generateReleaseAssets UP-TO-DATE > Task :CordovaLib:mergeReleaseShaders > Task :CordovaLib:compileReleaseShaders NO-SOURCE > Task :CordovaLib:generateReleaseAssets UP-TO-DATE > Task :CordovaLib:packageReleaseAssets > Task :app:mergeReleaseAssets > Task :app:processReleaseJavaRes NO-SOURCE > Task :CordovaLib:processReleaseJavaRes NO-SOURCE > Task :CordovaLib:bundleLibResRelease NO-SOURCE > Task :CordovaLib:generateReleaseRFile > Task :app:collectReleaseDependencies > Task :app:sdkReleaseDependencyData > Task :app:mergeReleaseJniLibFolders > Task :CordovaLib:mergeReleaseJniLibFolders > Task :app:mergeExtDexRelease > Task :app:validateSigningRelease > Task :CordovaLib:javaPreCompileRelease > Task :CordovaLib:compileReleaseJavaWithJavac > Task :app:mergeReleaseResources > Task :app:mergeReleaseJavaResource > Task :CordovaLib:mergeReleaseNativeLibs > Task :CordovaLib:stripReleaseDebugSymbols NO-SOURCE > Task :CordovaLib:copyReleaseJniLibsProjectOnly > Task :CordovaLib:compileReleaseLibraryResources > Task :app:processReleaseResources > Task :CordovaLib:bundleLibRuntimeToJarRelease > Task :app:mergeReleaseNativeLibs > Task :app:stripReleaseDebugSymbols NO-SOURCE > Task :CordovaLib:bundleLibCompileToJarRelease > Task :app:compileReleaseJavaWithJavac Note: /platforms/android/app/src/main/java/org/apache/cordova/splashscreen/SplashScreen.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app:compileReleaseSources > Task :app:lintVitalRelease /platforms/android/app/src/main/res/drawable-land-hdpi/screen.png: Error: The drawable "screen" in drawable-land-hdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-land-ldpi/screen.png: Error: The drawable "screen" in drawable-land-ldpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-land-mdpi/screen.png: Error: The drawable "screen" in drawable-land-mdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-land-xhdpi/screen.png: Error: The drawable "screen" in drawable-land-xhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-land-xxhdpi/screen.png: Error: The drawable "screen" in drawable-land-xxhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-land-xxxhdpi/screen.png: Error: The drawable "screen" in drawable-land-xxxhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-hdpi/screen.png: Error: The drawable "screen" in drawable-port-hdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-ldpi/screen.png: Error: The drawable "screen" in drawable-port-ldpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-mdpi/screen.png: Error: The drawable "screen" in drawable-port-mdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-xhdpi/screen.png: Error: The drawable "screen" in drawable-port-xhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-xxhdpi/screen.png: Error: The drawable "screen" in drawable-port-xxhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] /platforms/android/app/src/main/res/drawable-port-xxxhdpi/screen.png: Error: The drawable "screen" in drawable-port-xxxhdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource] Explanation for issues of type "MissingDefaultResource": If a resource is only defined in folders with qualifiers like -land or -en, and there is no default declaration in the base folder (layout or values etc), then the app will crash if that resource is accessed on a device where the device is in a configuration missing the given qualifier. As a special case, drawables do not have to be specified in the base folder; if there is a match in a density folder (such as drawable-mdpi) that image will be used and scaled. Note however that if you only specify a drawable in a folder like drawable-en-hdpi, the app will crash in non-English locales. There may be scenarios where you have a resource, such as a -fr drawable, which is only referenced from some other resource with the same qualifiers (such as a -fr style), which itself has safe fallbacks. However, this still makes it possible for somebody to accidentally reference the drawable and crash, so it is safer to create a default dummy fallback in the base folder. Alternatively, you can suppress the issue by adding tools:ignore="MissingDefaultResource" on the element. (This scenario frequently happens with string translations, where you might delete code and the corresponding resources, but forget to delete a translation. There is a dedicated issue id for that scenario, with the id ExtraTranslation.) 12 errors, 0 warnings > Task :app:dexBuilderRelease > Task :app:mergeDexRelease > Task :app:packageRelease > Task :app:assembleRelease > Task :app:cdvBuildRelease Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 2s 44 actionable tasks: 44 executed Built the following apk(s): /platforms/android/app/build/outputs/apk/release/app-release.apk PERFORMANCE: Elapsed: 39.07 PERFORMANCE: Max megs: 1.0