NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 196 forks source link

Failed to build plugin @nativescript/core #5700

Closed Voyage-He closed 1 year ago

Voyage-He commented 1 year ago

Issue Description

when i run ns run android, it didnt work. it's same as #5649, which is supposed to be fixed. hope for reply, appreciate!

error as the following:

Searching for devices...
Starting Android emulator with image Pixel_3a_API_33_x86_64
Waiting for emulator device initialization...
Copying template files...
Platform android successfully added. v8.3.1
Preparing project...
webpack is watching the files...
assets by path *.js 8.58 MiB
  asset vendor.js 7.99 MiB [emitted] (name: vendor) (id hint: defaultVendor)
  asset bundle.js 518 KiB [emitted] (name: bundle)
  asset runtime.js 87.2 KiB [emitted] (name: runtime)
assets by path fonts/*.ttf 374 KiB
  asset fonts/fa-solid-900.ttf 204 KiB [emitted] [from: app/fonts/fa-solid-900.ttf] [copied]
  asset fonts/fa-brands-400.ttf 131 KiB [emitted] [from: app/fonts/fa-brands-400.ttf] [copied]
  asset fonts/fa-regular-400.ttf 39.1 KiB [emitted] [from: app/fonts/fa-regular-400.ttf] [copied]
Entrypoint bundle 8.58 MiB = runtime.js 87.2 KiB vendor.js 7.99 MiB bundle.js 518 KiB
runtime modules 25 KiB 12 modules
orphan modules 356 bytes [orphan] 6 modules
modules by path ./node_modules/ 2.99 MiB
  javascript modules 2.72 MiB 545 modules
  json modules 273 KiB
    modules by path ./node_modules/mdn-data/css/*.json 242 KiB 3 modules
    modules by path ./node_modules/css-tree/ 30.7 KiB 2 modules
modules by path ./app/ 166 KiB
  modules by path ./app/components/*.vue 41.3 KiB 49 modules
  modules by path ./app/shared/*.js 1.04 KiB 2 modules
  ./app/app.js 3.45 KiB [built] [code generated]
  ./app/app.android.scss 120 KiB [built] [code generated]
external "~/package.json" 42 bytes [optional] [built] [code generated]
webpack 5.75.0 compiled successfully in 7305 ms
Webpack compilation complete. Watching for file changes.
File change detected. Starting incremental webpack compilation...
assets by status 8.95 MiB [cached] 6 assets
Entrypoint bundle 8.58 MiB = runtime.js 87.2 KiB vendor.js 7.99 MiB bundle.js 518 KiB
cached modules 3.15 MiB (javascript) 25 KiB (runtime) [cached] 622 modules
webpack 5.75.0 compiled successfully in 177 ms
Webpack compilation complete. Watching for file changes.
         ~ applying user-defined configuration from D:\Desktop\demo1\App_Resources\Android\before-plugins.gradle

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Could not isolate value com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Params_Decorated@4959e6de of type VerifyLibraryResourcesTask.Params
      > Could not resolve all files for configuration ':detachedConfiguration1'.
         > Could not resolve com.android.tools.build:aapt2:7.1.2-7984345.
           Required by:
               project :
            > Could not resolve com.android.tools.build:aapt2:7.1.2-7984345.
               > Could not get resource 'https://maven.google.com/com/android/tools/build/aapt2/7.1.2-7984345/aapt2-7.1.2-7984345.pom'.
                  > Could not GET 'https://maven.google.com/com/android/tools/build/aapt2/7.1.2-7984345/aapt2-7.1.2-7984345.pom'.
                     > Connect to maven.google.com:443 [maven.google.com/172.217.163.46] failed: Connection timed out: no further information

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 53s
<-------------> 0% WAITING
> IDLE
Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1

Reproduction

  1. ns doctor was fine
  2. ns create
  3. ns run android

Relevant log output (if applicable)

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                                                                                                                                               *
*  The "TRACE" log level might print some sensitive data like secrets or access tokens in request URLs. Be careful when you share this output.  *
*                                                                                                                                               *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Looking for project in 'D:\Desktop\demo1'
Project directory is 'D:\Desktop\demo1'.
Initializing project identifiers. Config:  {
  id: 'org.nativescript.demo1',
  appPath: 'app',
  appResourcesPath: 'App_Resources',
  android: { v8Flags: '--expose_gc', markingMode: 'none' }
}
Loading extensions.
Collecting system information...
System information:
{
  "platform": "win32",
  "shell": "C:\\Windows\\system32\\cmd.exe",
  "os": "Windows 10 Home China 6.3.22000",
  "procArch": "x64",
  "nodeVer": "18.12.1",
  "npmVer": "8.19.2",
  "nodeGypVer": null,
  "nativeScriptCliVersion": "8.3.3",
  "gitVer": "2.37.3.windows.1",
  "dotNetVer": "4.8.04161",
  "javacVersion": "17.0.5",
  "javaVersion": "17.0.5",
  "javaPath": "java",
  "adbVer": "1.0.41",
  "androidInstalled": true,
  "monoVer": null,
  "gradleVer": null,
  "isAndroidSdkConfiguredCorrectly": true,
  "xcodeprojLocation": null,
  "itunesInstalled": false,
  "isCocoaPodsWorkingCorrectly": false,
  "isCocoaPodsUpdateRequired": false,
  "pythonInfo": null
}
Current CLI version:  8.3.3
Project dir from hooksArgs is: undefined.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command resolveCommand is before-resolveCommand
Project dir from hooksArgs is: undefined.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
AfterHookName for command resolveCommand is after-resolveCommand
Starting watch on killswitch C:\Users\25823\AppData\Local\Temp\25823\KillSwitches\cli
Migration cache path is: C:\Users\25823\AppData\Roaming\.nativescript-cli\should-migrate-cache-8.3.3.json
Trying to handle SIGINT event. CLI overrides this behavior and does not allow handling SIGINT as this causes issues with Ctrl + C in terminal.
The stackTrace of the location trying to handle SIGINT is:
    at process.on (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\nativescript-cli.js:26:28)
    at C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\signal-exit\index.js:158:17
    at Array.filter (<anonymous>)
    at load (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\signal-exit\index.js:156:23)
    at module.exports (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\signal-exit\index.js:62:7)
    at Object.<anonymous> (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\proper-lockfile\lib\lockfile.js:331:1)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
spawn: D:\programing\nodejs\node.exe "C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\detached-processes\cleanup-process.js" "C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\bootstrap.js"
Shasum of file D:\Desktop\demo1\package.json is f82de2824ba6f129c6ed512828f1545b15fe39ba
Got cached result for shouldMigrate for platform: Android: false
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command checkEnvironment is before-checkEnvironment
Initializing analytics statuses.
Analytics statuses:  { TrackFeatureUsage: 'disabled', TrackExceptions: 'disabled' }
getInfos cacheConfig options: { forceCheck: undefined }  current info from cache:  [
  {
    message: 'Your ANDROID_HOME environment variable is set and points to correct directory.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'Your adb from the Android SDK is correctly installed.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'The Android SDK is installed.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'A compatible Android SDK for compilation is found.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'Javac is installed and is configured properly.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'The Java Development Kit (JDK) is installed and is configured properly.',
    platforms: [ 'Android' ],
    type: 'info'
  },
  {
    message: 'Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.',
    additionalInformation: '',
    platforms: [ 'iOS' ],
    type: 'info'
  }
]
Your ANDROID_HOME environment variable is set and points to correct directory.
Your adb from the Android SDK is correctly installed.
The Android SDK is installed.
A compatible Android SDK for compilation is found.
Javac is installed and is configured properly.
The Java Development Kit (JDK) is installed and is configured properly.
Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
AfterHookName for command checkEnvironment is after-checkEnvironment
Selected targetSdk is: 33
Installed Android Targets are:  [ 'android-33' ]
Selected buildToolsVersion is: 33.0.0
Validate options for platform: Android
Searching for devices...
startLookingForDevices; platform is Android
Options for ios-device-discovery {
  platform: 'Android',
  shouldReturnImmediateResult: false,
  emulator: false,
  fullDiscovery: undefined
}
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "start-server"
Result when throw error is false:
{ stdout: '', stderr: '', exitCode: 0 }
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
Error while trying to get InstallDir property for \Software\Oracle\VirtualBox. More info: ProcessUncleanExitError: QUERY command exited with code 1:

����: ϵͳ�Ҳ���ָ����ע������ֵ��.
spawn: player 0
Configuration error for Genymotion { stdout: '', stderr: 'spawn player ENOENT', exitCode: 'ENOENT' }
Starting Android emulator with image Pixel_3a_API_33_x86_64
spawn: C:\Users\25823\AppData\Local\Android\Sdk\emulator\emulator "-avd" "Pixel_3a_API_33_x86_64"
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
Waiting for emulator device initialization...execFile: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "-s" "emulator-5554" "shell" "getprop" "dev.bootcomplete"

spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
Trying to get information for Android device. Command is: getprop
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "-s" "emulator-5554" "shell" "getprop"
Result when throw error is false:
{
  stdout: '[bootreceiver.enable]: [1]\r\n' +
    '[build.version.extensions.r]: [3]\r\n' +
    '[build.version.extensions.s]: [3]\r\n' +
    '[build.version.extensions.t]: [3]\r\n' +
    '[cache_key.bluetooth.bluetooth_adapter_get_connection_state]: [839359043273364595]\r\n' +
    '[cache_key.bluetooth.bluetooth_adapter_get_profile_connection_state]: [839359043273364596]\r\n' +
    '[cache_key.bluetooth.bluetooth_adapter_get_state]: [839359043273364597]\r\n' +
    '[cache_key.bluetooth.bluetooth_adapter_is_offloaded_filtering_supported]: [839359043273364588]\r\n' +
    '[cache_key.bluetooth.bluetooth_device_get_bond_state]: [839359043273364590]\r\n' +
    '[cache_key.bluetooth.bluetooth_map_get_connection_state]: [839359043273364591]\r\n' +
    '[cache_key.bluetooth.bluetooth_sap_get_connection_state]: [839359043273364592]\r\n' +
    '[cache_key.display_info]: [6361946782240414913]\r\n' +
    '[cache_key.get_packages_for_uid]: [6361946782240415132]\r\n' +
    '[cache_key.has_system_feature]: [6361946782240413805]\r\n' +
    '[cache_key.is_compat_change_enabled]: [6361946782240415129]\r\n' +
    '[cache_key.is_interactive]: [6361946782240413790]\r\n' +
    '[cache_key.is_power_save_mode]: [6361946782240413832]\r\n' +
    '[cache_key.is_user_unlocked]: [6361946782240414926]\r\n' +
    '[cache_key.location_enabled]: [6361946782240414936]\r\n' +
    '[cache_key.package_info]: [6361946782240415130]\r\n' +
    '[cache_key.system_server.accounts_data]: [6361946782240415112]\r\n' +
    '[cache_key.system_server.device_policy_manager_caches]: [6361946782240414922]\r\n' +
    '[cache_key.system_server.get_credential_type]: [6361946782240414909]\r\n' +
    '[cache_key.telephony.get_active_data_sub_id]: [3486017499493408346]\r\n' +
    '[cache_key.telephony.get_default_data_sub_id]: [3486017499493408333]\r\n' +
    '[cache_key.telephony.get_default_sms_sub_id]: [3486017499493408339]\r\n' +
    '[cache_key.telephony.get_default_sub_id]: [3486017499493408337]\r\n' +
    '[cache_key.telephony.get_slot_index]: [3486017499493408338]\r\n' +
    '[cache_key.telephony.phone_account_to_subid]: [3486017499493408345]\r\n' +
    '[dalvik.vm.appimageformat]: [lz4]\r\n' +
    '[dalvik.vm.dex2oat-Xms]: [64m]\r\n' +
    '[dalvik.vm.dex2oat-Xmx]: [512m]\r\n' +
    '[dalvik.vm.dex2oat-max-image-block-size]: [524288]\r\n' +
    '[dalvik.vm.dex2oat-minidebuginfo]: [true]\r\n' +
    '[dalvik.vm.dex2oat-resolve-startup-strings]: [true]\r\n' +
    '[dalvik.vm.dex2oat64.enabled]: [1]\r\n' +
    '[dalvik.vm.dexopt.secondary]: [true]\r\n' +
    '[dalvik.vm.dexopt.thermal-cutoff]: [2]\r\n' +
    '[dalvik.vm.heapgrowthlimit]: [192m]\r\n' +
    '[dalvik.vm.heapmaxfree]: [8m]\r\n' +
    '[dalvik.vm.heapminfree]: [512k]\r\n' +
    '[dalvik.vm.heapsize]: [512m]\r\n' +
    '[dalvik.vm.heapstartsize]: [8m]\r\n' +
    '[dalvik.vm.heaptargetutilization]: [0.75]\r\n' +
    '[dalvik.vm.image-dex2oat-Xms]: [64m]\r\n' +
    '[dalvik.vm.image-dex2oat-Xmx]: [64m]\r\n' +
    '[dalvik.vm.isa.x86_64.features]: [default]\r\n' +
    '[dalvik.vm.isa.x86_64.variant]: [x86_64]\r\n' +
    '[dalvik.vm.lockprof.threshold]: [500]\r\n' +
    '[dalvik.vm.madvise.artfile.size]: [4294967295]\r\n' +
    '[dalvik.vm.madvise.odexfile.size]: [104857600]\r\n' +
    '[dalvik.vm.madvise.vdexfile.size]: [104857600]\r\n' +
    '[dalvik.vm.minidebuginfo]: [true]\r\n' +
    '[dalvik.vm.usejit]: [true]\r\n' +
    '[dalvik.vm.usejitprofiles]: [true]\r\n' +
    '[debug.atrace.tags.enableflags]: [0]\r\n' +
    '[debug.force_rtl]: [false]\r\n' +
    '[debug.hwui.renderer]: [opengl]\r\n' +
    '[debug.sf.vsync_reactor_ignore_present_fences]: [true]\r\n' +
    '[debug.stagefright.c2inputsurface]: [-1]\r\n' +
    '[debug.stagefright.ccodec]: [4]\r\n' +
    '[debug.tracing.screen_brightness]: [0.39763778]\r\n' +
    '[dev.bootcomplete]: [1]\r\n' +
    '[dev.mnt.blk.metadata]: [vdd1]\r\n' +
    '[dev.mnt.blk.product]: [vda2]\r\n' +
    '[dev.mnt.blk.root]: [vda2]\r\n' +
    '[dev.mnt.blk.system_ext]: [vda2]\r\n' +
    '[dev.mnt.blk.vendor]: [vda2]\r\n' +
    '[dev.mnt.dev.metadata]: [vdd1]\r\n' +
    '[dev.mnt.dev.product]: [dm-2]\r\n' +
    '[dev.mnt.dev.root]: [dm-4]\r\n' +
    '[dev.mnt.dev.system_ext]: [dm-1]\r\n' +
    '[dev.mnt.dev.vendor]: [dm-3]\r\n' +
    '[dev.mnt.rootdisk.metadata]: [vdd]\r\n' +
    '[dev.mnt.rootdisk.product]: [vda]\r\n' +
    '[dev.mnt.rootdisk.root]: [vda]\r\n' +
    '[dev.mnt.rootdisk.system_ext]: [vda]\r\n' +
    '[dev.mnt.rootdisk.vendor]: [vda]\r\n' +
    '[graphics.gpu.profiler.support]: [true]\r\n' +
    '[gsm.current.phone-type]: [1]\r\n' +
    '[gsm.network.type]: [LTE]\r\n' +
    '[gsm.operator.alpha]: [T-Mobile]\r\n' +
    '[gsm.operator.iso-country]: [us]\r\n' +
    '[gsm.operator.isroaming]: [false]\r\n' +
    '[gsm.operator.numeric]: [310260]\r\n' +
    '[gsm.sim.operator.alpha]: [T-Mobile]\r\n' +
    '[gsm.sim.operator.iso-country]: [us]\r\n' +
    '[gsm.sim.operator.numeric]: [310260]\r\n' +
    '[gsm.sim.state]: [LOADED]\r\n' +
    '[gsm.version.baseband]: [1.0.0.0]\r\n' +
    '[gsm.version.ril-impl]: [android reference-ril 1.0]\r\n' +
    '[hwservicemanager.ready]: [true]\r\n' +
    '[init.svc.adbd]: [running]\r\n' +
    '[init.svc.android-hardware-media-c2-goldfish-hal-1-0]: [running]\r\n' +
    '[init.svc.apexd]: [stopped]\r\n' +
    '[init.svc.apexd-bootstrap]: [stopped]\r\n' +
    '[init.svc.apexd-snapshotde]: [stopped]\r\n' +
    '[init.svc.audioserver]: [running]\r\n' +
    '[init.svc.bootanim]: [stopped]\r\n' +
    '[init.svc.boringssl_self_test64]: [stopped]\r\n' +
    '[init.svc.boringssl_self_test64_vendor]: [stopped]\r\n' +
    '[init.svc.boringssl_self_test_apex64]: [stopped]\r\n' +
    '[init.svc.bpfloader]: [stopped]\r\n' +
    '[init.svc.bt_vhci_forwarder]: [running]\r\n' +
    '[init.svc.btlinux-1.1]: [running]\r\n' +
    '[init.svc.cameraserver]: [running]\r\n' +
    '[init.svc.console]: [running]\r\n' +
    '[init.svc.credstore]: [running]\r\n' +
    '[init.svc.derive_classpath]: [stopped]\r\n' +
    '[init.svc.derive_sdk]: [stopped]\r\n' +
    '[init.svc.dhcpclient_wifi]: [running]\r\n' +
    '[init.svc.drm]: [running]\r\n' +
    '[init.svc.gatekeeperd]: [running]\r\n' +
    '[init.svc.goldfish-logcat]: [running]\r\n' +
    '[init.svc.gpu]: [running]\r\n' +
    '[init.svc.health-hal-2-1]: [running]\r\n' +
    '[init.svc.heapprofd]: [stopped]\r\n' +
    '[init.svc.hidl_memory]: [running]\r\n' +
    '[init.svc.hwservicemanager]: [running]\r\n' +
    '[init.svc.idmap2d]: [stopped]\r\n' +
    '[init.svc.incidentd]: [running]\r\n' +
    '[init.svc.installd]: [running]\r\n' +
    '[init.svc.keystore2]: [running]\r\n' +
    '[init.svc.lmkd]: [running]\r\n' +
    '[init.svc.logd]: [running]\r\n' +
    '[init.svc.logd-auditctl]: [stopped]\r\n' +
    '[init.svc.logd-reinit]: [stopped]\r\n' +
    '[init.svc.mdnsd]: [running]\r\n' +
    '[init.svc.media]: [running]\r\n' +
    '[init.svc.media.swcodec]: [running]\r\n' +
    '[init.svc.mediadrm]: [running]\r\n' +
    '[init.svc.mediaextractor]: [running]\r\n' +
    '[init.svc.mediametrics]: [running]\r\n' +
    '[init.svc.netd]: [running]\r\n' +
    '[init.svc.neuralnetworks_hal_service_sample_all]: [running]\r\n' +
    '[init.svc.neuralnetworks_hal_service_sample_limited]: [running]\r\n' +
    '[init.svc.odsign]: [stopped]\r\n' +
    '[init.svc.qemu-adb-keys]: [stopped]\r\n' +
    '[init.svc.qemu-adb-setup]: [stopped]\r\n' +
    '[init.svc.qemu-device-state]: [stopped]\r\n' +
    '[init.svc.qemu-props]: [running]\r\n' +
    '[init.svc.ranchu-net]: [stopped]\r\n' +
    '[init.svc.ranchu-setup]: [stopped]\r\n' +
    '[init.svc.servicemanager]: [running]\r\n' +
    '[init.svc.statsd]: [running]\r\n' +
    '[init.svc.storaged]: [running]\r\n' +
    '[init.svc.surfaceflinger]: [running]\r\n' +
    '[init.svc.system_suspend]: [running]\r\n' +
    '[init.svc.tombstoned]: [running]\r\n' +
    '[init.svc.traced]: [running]\r\n' +
    '[init.svc.traced_perf]: [stopped]\r\n' +
    '[init.svc.traced_probes]: [running]\r\n' +
    '[init.svc.ueventd]: [running]\r\n' +
    '[init.svc.update_verifier_nonencrypted]: [stopped]\r\n' +
    '[init.svc.usbd]: [stopped]\r\n' +
    '[init.svc.vold]: [running]\r\n' +
    '[init.svc.wificond]: [running]\r\n' +
    '[init.svc.wpa_supplicant]: [running]\r\n' +
    '[init.svc.zygote]: [running]\r\n' +
    '[log.tag.APM_AudioPolicyManager]: [D]\r\n' +
    '[log.tag.stats_log]: [I]\r\n' +
    '[logd.logpersistd.enable]: [true]\r\n' +
    '[logd.ready]: [true]\r\n' +
    '[media.mediadrmservice.enable]: [true]\r\n' +
    '[net.bt.name]: [Android]\r\n' +
    '[odsign.key.done]: [1]\r\n' +
    '[odsign.verification.done]: [1]\r\n' +
    '[odsign.verification.success]: [1]\r\n' +
    '[partition.system.verified]: [2]\r\n' +
    '[partition.system.verified.hash_alg]: [sha256]\r\n' +
    '[partition.system.verified.root_digest]: [c1b86fa8079874af820766f8b199cb440fc8df657f727cbc225eba4adbf947b6]\r\n' +
    '[persist.debug.dalvik.vm.core_platform_api_policy]: [just-warn]\r\n' +
    '[persist.radio.is_vonr_enabled_0]: [false]\r\n' +
    '[persist.sys.boot.reason]: []\r\n' +
    '[persist.sys.boot.reason.history]: [reboot,factory_reset,1668511603\r\n' +
    'reboot,1668511578]\r\n' +
    '[persist.sys.dalvik.vm.lib.2]: [libart.so]\r\n' +
    '[persist.sys.disable_rescue]: [true]\r\n' +
    '[persist.sys.displayinset.top]: [0]\r\n' +
    '[persist.sys.fuse]: [true]\r\n' +
    '[persist.sys.gps.lpp]: [2]\r\n' +
    '[persist.sys.lmk.reportkills]: [true]\r\n' +
    '[persist.sys.sf.color_saturation]: [1.1]\r\n' +
    '[persist.sys.sf.native_mode]: [0]\r\n' +
    '[persist.sys.timezone]: [GMT]\r\n' +
    '[persist.sys.usb.config]: [adb]\r\n' +
    '[persist.traced.enable]: [1]\r\n' +
    '[pm.dexopt.ab-ota]: [speed-profile]\r\n' +
    '[pm.dexopt.bg-dexopt]: [speed-profile]\r\n' +
    '[pm.dexopt.boot-after-ota]: [verify]\r\n' +
    '[pm.dexopt.cmdline]: [verify]\r\n' +
    '[pm.dexopt.first-boot]: [verify]\r\n' +
    '[pm.dexopt.inactive]: [verify]\r\n' +
    '[pm.dexopt.install]: [speed-profile]\r\n' +
    '[pm.dexopt.install-bulk]: [speed-profile]\r\n' +
    '[pm.dexopt.install-bulk-downgraded]: [verify]\r\n' +
    '[pm.dexopt.install-bulk-secondary]: [verify]\r\n' +
    '[pm.dexopt.install-bulk-secondary-downgraded]: [extract]\r\n' +
    '[pm.dexopt.install-fast]: [skip]\r\n' +
    '[pm.dexopt.post-boot]: [extract]\r\n' +
    '[pm.dexopt.shared]: [speed]\r\n' +
    '[qemu.sf.lcd_density]: [480]\r\n' +
    '[ro.actionable_compatible_property.enabled]: [true]\r\n' +
    '[ro.adb.secure]: [0]\r\n' +
    '[ro.allow.mock.location]: [0]\r\n' +
    '[ro.apex.updatable]: [true]\r\n' +
    '[ro.baseband]: [unknown]\r\n' +
    '[ro.board.platform]: []\r\n' +
    '[ro.boot.avb_version]: [1.2]\r\n' +
    '[ro.boot.boot_devices]: [pci0000:00/0000:00:03.0]\r\n' +
    '[ro.boot.bootreason]: [reboot,factory_reset]\r\n' +
    '[ro.boot.dalvik.vm.heapsize]: [512m]\r\n' +
    '[ro.boot.dynamic_partitions]: [true]\r\n' +
    '[ro.boot.hardware]: [ranchu]\r\n' +
    '[ro.boot.logcat]: [*:V]\r\n' +
    '[ro.boot.opengles.version]: [131072]\r\n' +
    '[ro.boot.qemu]: [1]\r\n' +
    '[ro.boot.qemu.avd_name]: [Pixel_3a_API_33_x86_64]\r\n' +
    '[ro.boot.qemu.camera_hq_edge_processing]: [0]\r\n' +
    '[ro.boot.qemu.camera_protocol_ver]: [1]\r\n' +
    '[ro.boot.qemu.cpuvulkan.version]: [4202496]\r\n' +
    '[ro.boot.qemu.gltransport.drawFlushInterval]: [800]\r\n' +
    '[ro.boot.qemu.gltransport.name]: [pipe]\r\n' +
    '[ro.boot.qemu.hwcodec.avcdec]: [2]\r\n' +
    '[ro.boot.qemu.hwcodec.vpxdec]: [2]\r\n' +
    '[ro.boot.qemu.settings.system.screen_off_timeout]: [2147483647]\r\n' +
    '[ro.boot.qemu.virtiowifi]: [1]\r\n' +
    '[ro.boot.qemu.vsync]: [60]\r\n' +
    '[ro.boot.serialno]: [EMULATOR31X3X13X0]\r\n' +
    '[ro.boot.vbmeta.digest]: [511dc33bed1107a704c5909868f5e77388fa9dfd96052f77a9619d9b4f5ccbee]\r\n' +
    '[ro.boot.vbmeta.hash_alg]: [sha256]\r\n' +
    '[ro.boot.vbmeta.size]: [6080]\r\n' +
    '[ro.boot.veritymode]: [enforcing]\r\n' +
    '[ro.bootimage.build.date]: [Thu Jul  7 20:33:23 UTC 2022]\r\n' +
    '[ro.bootimage.build.date.utc]: [1657226003]\r\n' +
    '[ro.bootimage.build.fingerprint]: [google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys]\r\n' +
    '[ro.bootimage.build.id]: [TPB4.220624.004]\r\n' +
    '[ro.bootimage.build.tags]: [dev-keys]\r\n' +
    '[ro.bootimage.build.type]: [userdebug]\r\n' +
    '[ro.bootimage.build.version.incremental]: [8808248]\r\n' +
    '[ro.bootimage.build.version.release]: [13]\r\n' +
    '[ro.bootimage.build.version.release_or_codename]: [13]\r\n' +
    '[ro.bootimage.build.version.sdk]: [33]\r\n' +
    '[ro.bootloader]: [unknown]\r\n' +
    '[ro.bootmode]: [unknow'... 9714 more characters,
  stderr: '',
  exitCode: 0
}
{
  ab_update: 'false',
  characteristics: 'emulator',
  date: 'Thu Jul  7 20:33:23 UTC 2022',
  'date.utc': '1657226003',
  description: 'sdk_gphone64_x86_64-userdebug 13 TPB4.220624.004 8808248 dev-keys',
  'display.id': 'sdk_gphone64_x86_64-userdebug 13 TPB4.220624.004 8808248 dev-keys',
  fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys',
  flavor: 'sdk_gphone64_x86_64-userdebug',
  host: 'abfarm-release-rbe-32-00156',
  id: 'TPB4.220624.004',
  product: 'emu64xa',
  tags: 'dev-keys',
  type: 'userdebug',
  user: 'android-build',
  all_codenames: 'REL',
  base_os: '',
  codename: 'REL',
  incremental: '8808248',
  known_codenames: 'Base,Base11,Cupcake,Donut,Eclair,Eclair01,EclairMr1,Froyo,Gingerbread,GingerbreadMr1,Honeycomb,HoneycombMr1,HoneycombMr2,IceCreamSandwich,IceCreamSandwichMr1,JellyBean,JellyBeanMr1,JellyBeanMr2,Kitkat,KitkatWatch,Lollipop,LollipopMr1,M,N,NMr1,O,OMr1,P,Q,R,S,Sv2,Tiramisu',
  min_supported_target_sdk: '23',
  preview_sdk: '0',
  preview_sdk_fingerprint: 'REL',
  release: '13',
  release_or_codename: '13',
  release_or_preview_display: '13',
  sdk: '33',
  security_patch: '2022-07-05',
  board: 'goldfish_x86_64',
  'bootimage.brand': 'google',
  'bootimage.device': 'emu64xa',
  'bootimage.manufacturer': 'Google',
  'bootimage.model': 'sdk_gphone64_x86_64',
  'bootimage.name': 'sdk_gphone64_x86_64',
  brand: 'google',
  'build.date': 'Thu Jul  7 20:33:23 UTC 2022',
  'build.date.utc': '1657226003',
  'build.fingerprint': 'google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys',
  'build.id': 'TPB4.220624.004',
  'build.tags': 'dev-keys',
  'build.type': 'userdebug',
  'build.version.incremental': '8808248',
  'build.version.release': '13',
  'build.version.release_or_codename': '13',
  'build.version.sdk': '33',
  'cpu.abi': 'x86_64',
  'cpu.abilist': 'x86_64,arm64-v8a',
  'cpu.abilist32': '',
  'cpu.abilist64': 'x86_64,arm64-v8a',
  device: 'emu64xa',
  first_api_level: '33',
  locale: 'en-US',
  manufacturer: 'Google',
  model: 'sdk_gphone64_x86_64',
  name: 'sdk_gphone64_x86_64',
  'odm.brand': 'google',
  'odm.device': 'emu64xa',
  'odm.manufacturer': 'Google',
  'odm.model': 'sdk_gphone64_x86_64',
  'odm.name': 'sdk_gphone64_x86_64',
  'product.brand': 'google',
  'product.device': 'emu64xa',
  'product.manufacturer': 'Google',
  'product.model': 'sdk_gphone64_x86_64',
  'product.name': 'sdk_gphone64_x86_64',
  'system.brand': 'google',
  'system.device': 'generic',
  'system.manufacturer': 'Google',
  'system.model': 'mainline',
  'system.name': 'mainline',
  'system_ext.brand': 'google',
  'system_ext.device': 'emu64xa',
  'system_ext.manufacturer': 'Google',
  'system_ext.model': 'sdk_gphone64_x86_64',
  'system_ext.name': 'sdk_gphone64_x86_64',
  'vendor.brand': 'google',
  'vendor.device': 'emu64xa',
  'vendor.manufacturer': 'Google',
  'vendor.model': 'sdk_gphone64_x86_64',
  'vendor.name': 'sdk_gphone64_x86_64',
  'vendor_dlkm.brand': 'google',
  'vendor_dlkm.device': 'emu64xa',
  'vendor_dlkm.manufacturer': 'Google',
  'vendor_dlkm.model': 'sdk_gphone64_x86_64',
  'vendor_dlkm.name': 'sdk_gphone64_x86_64',
  'vndk.version': '33'
}
{
  ab_update: 'false',
  characteristics: 'emulator',
  date: 'Thu Jul  7 20:33:23 UTC 2022',
  'date.utc': '1657226003',
  description: 'sdk_gphone64_x86_64-userdebug 13 TPB4.220624.004 8808248 dev-keys',
  'display.id': 'sdk_gphone64_x86_64-userdebug 13 TPB4.220624.004 8808248 dev-keys',
  fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys',
  flavor: 'sdk_gphone64_x86_64-userdebug',
  host: 'abfarm-release-rbe-32-00156',
  id: 'TPB4.220624.004',
  product: 'emu64xa',
  tags: 'dev-keys',
  type: 'userdebug',
  user: 'android-build',
  all_codenames: 'REL',
  base_os: '',
  codename: 'REL',
  incremental: '8808248',
  known_codenames: 'Base,Base11,Cupcake,Donut,Eclair,Eclair01,EclairMr1,Froyo,Gingerbread,GingerbreadMr1,Honeycomb,HoneycombMr1,HoneycombMr2,IceCreamSandwich,IceCreamSandwichMr1,JellyBean,JellyBeanMr1,JellyBeanMr2,Kitkat,KitkatWatch,Lollipop,LollipopMr1,M,N,NMr1,O,OMr1,P,Q,R,S,Sv2,Tiramisu',
  min_supported_target_sdk: '23',
  preview_sdk: '0',
  preview_sdk_fingerprint: 'REL',
  release: '13',
  release_or_codename: '13',
  release_or_preview_display: '13',
  sdk: '33',
  security_patch: '2022-07-05',
  board: 'goldfish_x86_64',
  'bootimage.brand': 'google',
  'bootimage.device': 'emu64xa',
  'bootimage.manufacturer': 'Google',
  'bootimage.model': 'sdk_gphone64_x86_64',
  'bootimage.name': 'sdk_gphone64_x86_64',
  brand: 'google',
  'build.date': 'Thu Jul  7 20:33:23 UTC 2022',
  'build.date.utc': '1657226003',
  'build.fingerprint': 'google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys',
  'build.id': 'TPB4.220624.004',
  'build.tags': 'dev-keys',
  'build.type': 'userdebug',
  'build.version.incremental': '8808248',
  'build.version.release': '13',
  'build.version.release_or_codename': '13',
  'build.version.sdk': '33',
  'cpu.abi': 'x86_64',
  'cpu.abilist': 'x86_64,arm64-v8a',
  'cpu.abilist32': '',
  'cpu.abilist64': 'x86_64,arm64-v8a',
  device: 'emu64xa',
  first_api_level: '33',
  locale: 'en-US',
  manufacturer: 'Google',
  model: 'sdk_gphone64_x86_64',
  name: 'sdk_gphone64_x86_64',
  'odm.brand': 'google',
  'odm.device': 'emu64xa',
  'odm.manufacturer': 'Google',
  'odm.model': 'sdk_gphone64_x86_64',
  'odm.name': 'sdk_gphone64_x86_64',
  'product.brand': 'google',
  'product.device': 'emu64xa',
  'product.manufacturer': 'Google',
  'product.model': 'sdk_gphone64_x86_64',
  'product.name': 'sdk_gphone64_x86_64',
  'system.brand': 'google',
  'system.device': 'generic',
  'system.manufacturer': 'Google',
  'system.model': 'mainline',
  'system.name': 'mainline',
  'system_ext.brand': 'google',
  'system_ext.device': 'emu64xa',
  'system_ext.manufacturer': 'Google',
  'system_ext.model': 'sdk_gphone64_x86_64',
  'system_ext.name': 'sdk_gphone64_x86_64',
  'vendor.brand': 'google',
  'vendor.device': 'emu64xa',
  'vendor.manufacturer': 'Google',
  'vendor.model': 'sdk_gphone64_x86_64',
  'vendor.name': 'sdk_gphone64_x86_64',
  'vendor_dlkm.brand': 'google',
  'vendor_dlkm.device': 'emu64xa',
  'vendor_dlkm.manufacturer': 'Google',
  'vendor_dlkm.model': 'sdk_gphone64_x86_64',
  'vendor_dlkm.name': 'sdk_gphone64_x86_64',
  'vndk.version': '33'
}
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
{
  identifier: 'emulator-5554',
  displayName: 'Pixel_3a_API_33_x86_64',
  model: 'sdk_gphone64_x86_64',
  version: '13',
  vendor: 'google',
  platform: 'Android',
  status: 'Connected',
  errorHelp: null,
  isTablet: false,
  type: 'Emulator',
  connectionTypes: [ 10 ],
  imageIdentifier: 'Pixel_3a_API_33_x86_64'
}
Found device with identifier 'emulator-5554'
startLookingForDevices; platform is Android
Options for ios-device-discovery {
  platform: 'Android',
  shouldReturnImmediateResult: false,
  emulator: false,
  fullDiscovery: undefined
}
spawn: C:\Users\25823\AppData\Local\Android\Sdk\platform-tools\adb "devices"
Checking if @nativescript/core is installed...
Checking if @nativescript/theme is installed...
Checking if nativescript-ui-sidedrawer is installed...
Checking if nativescript-vue is installed...
Checking if rxjs is installed...
Checking if @nativescript/android is installed...
Checking if @nativescript/webpack is installed...
Checking if nativescript-vue-template-compiler is installed...
Checking if @nativescript/core is installed...
Checking if @nativescript/theme is installed...
Checking if nativescript-ui-sidedrawer is installed...
Checking if nativescript-vue is installed...
Checking if rxjs is installed...
Checking if @nativescript/android is installed...
Checking if @nativescript/webpack is installed...
Checking if nativescript-vue-template-compiler is installed...
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command prepare is before-prepare
Preparing project...
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command watch is before-watch
spawn: D:\programing\nodejs\node.exe "--max_old_space_size=4096" "--preserve-symlinks" "D:\Desktop\demo1\node_modules\@nativescript\webpack\dist\bin\index.js" "build" "--config=D:\Desktop\demo1\webpack.config.js" "--env.hmr" "--env.externals=~/package.json" "--env.externals=package.json" "--env.android" "--env.appPath=app" "--env.appResourcesPath=App_Resources" "--env.nativescriptLibPath=C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\nativescript-cli-lib.js" "--env.verbose" "--env.config=false" "--env.sourceMap" "--watch"
[@nativescript/webpack] Info:
 Resolved chainable config (before merges):
[@nativescript/webpack] Info:
 {
  mode: 'development',
  externals: [
    'package.json',
    '~/package.json'
  ],
  externalsPresets: {
    node: false
  },
  devtool: 'inline-source-map',
  target: 'node',
  watchOptions: {
    ignored: [
      'D:\\Desktop\\demo1\\platforms/**',
      'D:\\Desktop\\demo1\\App_Resources/**'
    ]
  },
  ignoreWarnings: [
    /System.import\(\) is deprecated/
  ],
  output: {
    path: 'D:\\Desktop\\demo1\\platforms\\android\\app\\src\\main\\assets\\app',
    pathinfo: false,
    publicPath: '',
    libraryTarget: 'commonjs',
    globalObject: 'global',
    clean: true
  },
  resolve: {
    symlinks: true,
    alias: {
      '~': 'D:\\Desktop\\demo1\\app',
      '@': 'D:\\Desktop\\demo1\\app',
      vue: 'nativescript-vue'
    },
    extensions: [
      '.android.vue',
      '.vue',
      '.android.ts',
      '.ts',
      '.android.js',
      '.js',
      '.android.mjs',
      '.mjs',
      '.android.css',
      '.css',
      '.android.scss',
      '.scss',
      '.android.json',
      '.json'
    ],
    modules: [
      'D:\\Desktop\\demo1\\node_modules',
      'node_modules'
    ]
  },
  resolveLoader: {
    modules: [
      'D:\\Desktop\\demo1\\node_modules\\@nativescript\\webpack\\dist\\loaders',
      'D:\\Desktop\\demo1\\node_modules\\@nativescript\\webpack\\node_modules',
      'D:\\Desktop\\demo1\\node_modules',
      'node_modules'
    ]
  },
  module: {
    rules: [
      /* config.module.rule('bundle') */
      {
        enforce: 'post',
        test: 'D:\\Desktop\\demo1\\app\\app.js',
        use: [
          /* config.module.rule('bundle').use('app-css-loader') */
          {
            loader: 'app-css-loader',
            options: {
              platform: 'android'
            }
          },
          /* config.module.rule('bundle').use('nativescript-hot-loader') */
          {
            loader: 'nativescript-hot-loader',
            options: {
              injectHMRRuntime: true
            }
          }
        ]
      },
      /* config.module.rule('workers') */
      {
        test: /\.(mjs|js|ts)$/,
        use: [
          /* config.module.rule('workers').use('nativescript-worker-loader') */
          {
            loader: 'nativescript-worker-loader'
          }
        ]
      },
      /* config.module.rule('ts') */
      {
        test: [
          /\.ts$/
        ],
        use: [
          /* config.module.rule('ts').use('ts-loader') */
          {
            loader: 'ts-loader',
            options: {
              transpileOnly: true,
              allowTsInNodeModules: true,
              compilerOptions: {
                sourceMap: true,
                declaration: false
              },
              getCustomTransformers: function () { /* omitted long function */ },
              appendTsSuffixTo: [
                '\\.vue$'
              ]
            }
          }
        ]
      },
      /* config.module.rule('js') */
      {
        test: /\.js$/,
        exclude: [
          /node_modules/
        ]
      },
      /* config.module.rule('xml') */
      {
        test: /\.xml$/,
        use: [
          /* config.module.rule('xml').use('xml-namespace-loader') */
          {
            loader: 'xml-namespace-loader'
          }
        ]
      },
      /* config.module.rule('css') */
      {
        test: /\.css$/,
        use: [
          /* config.module.rule('css').use('apply-css-loader') */
          {
            loader: 'apply-css-loader'
          },
          /* config.module.rule('css').use('css2json-loader') */
          {
            loader: 'css2json-loader'
          },
          /* config.module.rule('css').use('vue-css-loader') */
          {
            loader: 'vue-loader/lib/loaders/stylePostLoader.js'
          },
          /* config.module.rule('css').use('postcss-loader') */
          {
            loader: 'postcss-loader',
            options: {
              postcssOptions: {
                plugins: [
                  [
                    'postcss-import',
                    {
                      resolve: function () { /* omitted long function */ }
                    }
                  ]
                ]
              }
            }
          }
        ]
      },
      /* config.module.rule('scss') */
      {
        test: /\.scss$/,
        use: [
          /* config.module.rule('scss').use('apply-css-loader') */
          {
            loader: 'apply-css-loader'
          },
          /* config.module.rule('scss').use('css2json-loader') */
          {
            loader: 'css2json-loader'
          },
          /* config.module.rule('scss').use('vue-css-loader') */
          {
            loader: 'vue-loader/lib/loaders/stylePostLoader.js'
          },
          /* config.module.rule('scss').use('postcss-loader') */
          {
            loader: 'postcss-loader',
            options: {
              postcssOptions: {
                plugins: [
                  [
                    'postcss-import',
                    {
                      resolve: function () { /* omitted long function */ }
                    }
                  ]
                ]
              }
            }
          },
          /* config.module.rule('scss').use('sass-loader') */
          {
            loader: 'sass-loader'
          }
        ]
      },
      /* config.module.rule('vue') */
      {
        test: /\.vue$/,
        use: [
          /* config.module.rule('vue').use('vue-loader') */
          {
            loader: 'vue-loader',
            options: {
              compiler: {
                compile: function () { /* omitted long function */ },
                compileToFunctions: function () { /* omitted long function */ },
                parseComponent: function () { /* omitted long function */ },
                registerElement: function () { /* omitted long function */ }
              }
            }
          }
        ]
      }
    ]
  },
  optimization: {
    runtimeChunk: 'single',
    splitChunks: {
      cacheGroups: {
        defaultVendor: {
          test: /[\\/]node_modules[\\/]/,
          priority: -10,
          name: 'vendor',
          chunks: 'all'
        }
      }
    },
    minimizer: [
      /* config.optimization.minimizer('TerserPlugin') */
      new TerserPlugin(
        {
          terserOptions: {
            compress: {
              collapse_vars: false,
              sequences: false,
              keep_infinity: true,
              drop_console: false,
              global_defs: {
                __UGLIFIED__: true
              }
            },
            keep_fnames: true,
            keep_classnames: true
          }
        }
      )
    ]
  },
  plugins: [
    /* config.plugin('VueLoaderPlugin') */
    new VueLoaderPlugin(),
    /* config.plugin('PlatformSuffixPlugin') */
    new PlatformSuffixPlugin(
      {
        platform: 'android'
      }
    ),
    /* config.plugin('ContextExclusionPlugin|App_Resources') */
    new ContextExclusionPlugin(
      /(.*)App_Resources(.*)/
    ),
    /* config.plugin('ContextExclusionPlugin|Other_Platforms') */
    new ContextExclusionPlugin(
      /\.(ios)\.(\w+)$/
    ),
    /* config.plugin('DefinePlugin') */
    new DefinePlugin(
      {
        __DEV__: true,
        __NS_WEBPACK__: true,
        __NS_ENV_VERBOSE__: true,
        __NS_DEV_HOST_IPS__: '["192.168.136.1","192.168.81.1","172.32.4.118","127.0.0.1"]',
        __CSS_PARSER__: '"css-tree"',
        __UI_USE_XML_PARSER__: true,
        __UI_USE_EXTERNAL_RENDERER__: false,
        __ANDROID__: true,
        __IOS__: false,
        'global.isAndroid': true,
        'global.isIOS': false,
        process: 'global.process',
        __USE_TEST_ID__: false
      }
    ),
    /* config.plugin('CopyWebpackPlugin') */
    new CopyPlugin(
      {
        patterns: [
          {
            from: 'assets/**',
            context: 'D:\\Desktop\\demo1\\app',
            noErrorOnMissing: true,
            globOptions: {
              dot: false,
              ignore: [
                '**/App_Resources/**'
              ]
            }
          },
          {
            from: 'fonts/**',
            context: 'D:\\Desktop\\demo1\\app',
            noErrorOnMissing: true,
            globOptions: {
              dot: false,
              ignore: [
                '**/App_Resources/**'
              ]
            }
          },
          {
            from: '**/*.+(jpg|png)',
            context: 'D:\\Desktop\\demo1\\app',
            noErrorOnMissing: true,
            globOptions: {
              dot: false,
              ignore: [
                '**/App_Resources/**'
              ]
            }
          }
        ]
      }
    ),
    /* config.plugin('WatchStatePlugin') */
    new WatchStatePlugin(),
    /* config.plugin('HotModuleReplacementPlugin') */
    new HotModuleReplacementPlugin()
  ],
  entry: {
    bundle: [
      '@nativescript/core/globals/index',
      '@nativescript/core/bundle-entry-points',
      'D:\\Desktop\\demo1\\app\\app.js',
      '@nativescript/core/ui/frame',
      '@nativescript/core/ui/frame/activity'
    ]
  }
}
webpack is watching the files...
assets by path *.js 8.58 MiB
  asset vendor.js 7.99 MiB [compared for emit] (name: vendor) (id hint: defaultVendor)
  asset bundle.js 519 KiB [compared for emit] (name: bundle)
  asset runtime.js 87.2 KiB [compared for emit] (name: runtime)
assets by path fonts/*.ttf 374 KiB
  asset fonts/fa-solid-900.ttf 204 KiB [compared for emit] [from: app/fonts/fa-solid-900.ttf] [copied]
  asset fonts/fa-brands-400.ttf 131 KiB [compared for emit] [from: app/fonts/fa-brands-400.ttf] [copied]
  asset fonts/fa-regular-400.ttf 39.1 KiB [compared for emit] [from: app/fonts/fa-regular-400.ttf] [copied]
Entrypoint bundle 8.58 MiB = runtime.js 87.2 KiB vendor.js 7.99 MiB bundle.js 519 KiB
runtime modules 25 KiB 12 modules
orphan modules 356 bytes [orphan] 6 modules
modules by path ./node_modules/ 2.99 MiB
  javascript modules 2.72 MiB 545 modules
  json modules 273 KiB
    modules by path ./node_modules/mdn-data/css/*.json 242 KiB 3 modules
    modules by path ./node_modules/css-tree/ 30.7 KiB 2 modules
modules by path ./app/ 166 KiB
  modules by path ./app/components/*.vue 41.3 KiB 49 modules
  modules by path ./app/shared/*.js 1.04 KiB 2 modules
  ./app/app.js 3.45 KiB [built] [code generated]
  ./app/app.android.scss 120 KiB [built] [code generated]
external "~/package.json" 42 bytes [optional] [built] [code generated]
webpack 5.75.0 compiled successfully in 4318 ms
Webpack compilation complete. Watching for file changes.
[WatchStatePlugin] Notify:  {
  type: 'compilation',
  version: 1,
  hash: '73041f4c620bab911aff',
  data: {
    emittedAssets: [
      'bundle.js',
      'runtime.js',
      'vendor.js',
      'fonts/fa-brands-400.ttf',
      'fonts/fa-regular-400.ttf',
      'fonts/fa-solid-900.ttf'
    ],
    staleAssets: []
  }
}
Message from webpack {
  type: 'compilation',
  version: 1,
  hash: '73041f4c620bab911aff',
  data: {
    emittedAssets: [
      'bundle.js',
      'runtime.js',
      'vendor.js',
      'fonts/fa-brands-400.ttf',
      'fonts/fa-regular-400.ttf',
      'fonts/fa-solid-900.ttf'
    ],
    staleAssets: []
  }
}
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command watchPatterns is before-watchPatterns
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
AfterHookName for command watchPatterns is after-watchPatterns
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command prepareNativeApp is before-prepareNativeApp
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command checkForChanges is before-checkForChanges
Executing before-checkForChanges hook at location D:\Desktop\demo1\hooks\before-checkForChanges\nativescript-core.js in-process
Validating before-checkForChanges arguments.
Set configChanged to true, appResourcesChanged is: true
checkForChanges returns ProjectChangesInfo {
  appResourcesChanged: true,
  configChanged: true,
  nativeChanged: true,
  nsConfigChanged: true,
  nativePlatformStatus: '2'
}
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
AfterHookName for command checkForChanges is after-checkForChanges
File change detected. Starting incremental webpack compilation...
[WatchStatePlugin][WatchTriggers] REMOVED: D:\Desktop\demo1\app\assets
Directories to clean:
[]
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\native-api-usage.json is 4a614afaa51061d74eba0cbe39100f47b0e2a10b
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\res\values\ids.xml is af407e752ae7884c6e064d1dc81008497d5ff0cc
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\widgets-release.aar is d93c98b8ee3b8390b9cf5b456b91d076fafe95a8
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\native-api-usage.json is 4a614afaa51061d74eba0cbe39100f47b0e2a10b
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\res\values\ids.xml is af407e752ae7884c6e064d1dc81008497d5ff0cc
Shasum of file D:\Desktop\demo1\node_modules\@nativescript\core\platforms\android\widgets-release.aar is d93c98b8ee3b8390b9cf5b456b91d076fafe95a8
assets by status 8.95 MiB [cached] 6 assets
Entrypoint bundle 8.58 MiB = runtime.js 87.2 KiB vendor.js 7.99 MiB bundle.js 519 KiB
cached modules 3.15 MiB (javascript) 25 KiB (runtime) [cached] 622 modules
webpack 5.75.0 compiled successfully in 146 ms
Webpack compilation complete. Watching for file changes.
[WatchStatePlugin] Notify:  {
  type: 'compilation',
  version: 1,
  hash: '73041f4c620bab911aff',
  data: { emittedAssets: [], staleAssets: [] }
}
Got gradle versions {"gradleVersion":"7.4","gradleAndroidPluginVersion":"7.1.2"} from runtime v8.3.1
Project dir from hooksArgs is: D:\Desktop\demo1.
Hooks directories: [ 'D:\\Desktop\\demo1\\hooks' ]
BeforeHookName for command buildAndroidPlugin is before-buildAndroidPlugin
spawn: gradlew.bat "-p" "D:\Desktop\demo1\platforms\tempPlugin\core" "assembleRelease" "-PcompileSdk=android-33" "-PbuildToolsVersion=33.0.0" "-PappPath=D:\Desktop\demo1\app" "-PappResourcesPath=D:\Desktop\demo1\App_Resources"
Message from webpack {
  type: 'compilation',
  version: 1,
  hash: '73041f4c620bab911aff',
  data: { emittedAssets: [], staleAssets: [] }
}
Received message from webpack process: {
  type: 'compilation',
  version: 1,
  hash: '73041f4c620bab911aff',
  data: { emittedAssets: [], staleAssets: [] }
}
Webpack build done!

> Configure project :
WARNING:The option 'android.enableSeparateRClassCompilation' is deprecated.
The current default is 'true'.
It has been removed from the current version of the Android Gradle plugin.
Separate R class compilation has been enabled and can no longer be disabled.
         ~ applying user-defined configuration from D:\Desktop\demo1\App_Resources\Android\before-plugins.gradle
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33

> Task :extractReleaseAnnotations FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':extractReleaseAnnotations'.
> Could not resolve all files for configuration ':detachedConfiguration2'.
   > Could not resolve com.android.tools.lint:lint-gradle:30.1.2.
     Required by:
         project :
      > Could not resolve com.android.tools.lint:lint-gradle:30.1.2.
         > Could not get resource 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.1.2/lint-gradle-30.1.2.pom'.
            > Could not GET 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.1.2/lint-gradle-30.1.2.pom'.
               > 不知道这样的主机。 (maven.google.com)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

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/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
14 actionable tasks: 14 executed
Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
Error while executing action on device emulator-5554. The error is Error: Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
    at Errors.failWithOptions (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\errors.js:157:27)
    at Errors.fail (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\errors.js:130:21)
    at AndroidPluginBuildService.<anonymous> (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\services\android-plugin-build-service.js:470:30)
    at Generator.throw (<anonymous>)
    at rejected (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\services\android-plugin-build-service.js:12:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  name: 'Exception',
  errorCode: 127,
  suggestCommandHelp: false,
  proxyAuthenticationRequired: false,
  printOnStdout: undefined,
  deviceIdentifier: 'emulator-5554'
}
Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
Error: Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
    at Errors.failWithOptions (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\errors.js:157:27)
    at Errors.fail (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\errors.js:130:21)
    at DevicesService.<anonymous> (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:425:30)
    at Generator.throw (<anonymous>)
    at rejected (C:\Users\25823\AppData\Local\Yarn\Data\global\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:12:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Environment

$ns doctor android

√ Getting environment information

No issues were detected. √ Your ANDROID_HOME environment variable is set and points to correct directory. √ Your adb from the Android SDK is correctly installed. √ The Android SDK is installed. √ A compatible Android SDK for compilation is found. √ Javac is installed and is configured properly. √ The Java Development Kit (JDK) is installed and is configured properly. √ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure. √ Getting NativeScript components versions information... √ Component nativescript has 8.3.3 version and is up to date. √ Component @nativescript/core has 8.3.6 version and is up to date. √ Component @nativescript/android has 8.3.1 version and is up to date.

OS: Windows 10 10.0.22000
CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
Shell: Not Found
node: 18.12.1
npm: 8.19.2
nativescript: Not Found

# android
java: Not Found
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: Not Found
cocoapods: Not Found
python: Not Found
python3: Not Found
ruby: Not Found
platforms: Not Found

Dependencies

"dependencies": {
  "@nativescript/core": "~8.3.0",
  "@nativescript/theme": "~3.0.2",
  "nativescript-ui-sidedrawer": "~10.0.2",
  "nativescript-vue": "~2.9.0",
  "rxjs": "~7.5.0"
},
"devDependencies": {
  "@nativescript/android": "8.3.1",
  "@nativescript/webpack": "~5.0.9",
  "nativescript-vue-template-compiler": "~2.9.0"
}

Please accept these terms

rigor789 commented 1 year ago

不知道这样的主机。 (maven.google.com)

Google translate leads me to believe this is a connection issue on your network, the connection to maven.google.com is either blocked, or unreachable.

zpfz commented 9 months ago

Google translate leads me to believe this is a connection issue on your network, the connection to maven.google.com is either blocked, or unreachable.

Hi,bro,has the way to solve this problem?

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':extractReleaseAnnotations'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
   > Could not resolve com.android.tools.lint:lint-gradle:30.4.2.
     Required by:
         project :
      > Could not resolve com.android.tools.lint:lint-gradle:30.4.2.
         > Could not get resource 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.4.2/lint-gradle-30.4.2.pom'.
            > Could not GET 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.4.2/lint-gradle-30.4.2.pom'.
               > Connect to maven.google.com:443 [maven.google.com/142.251.43.14] failed: Connection timed out: connect

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 52s
Failed to build plugin @nativescript/core :                                                                         
Error: Command gradlew.bat failed with exit code 1      
nicetomytyuk commented 4 days ago

I have the same issue:

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\igor.mytyuk\Desktop\Projects\visualpos-mobile\platforms\tempPlugin\core\settings.gradle' (C:\Users\igor.mytyuk\.gradle\caches\8.4\scripts\3n04429yuegs5t7zs8asw1441).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 512ms
Failed to build plugin @nativescript/core :                                                                                            
Error: Command gradlew.bat failed with exit code 1
jcassidyav commented 4 days ago

This is not the same issue,

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 66

Indicates you are using java 22, please install and use java 17