NativeScript / nativescript-cli

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

tns device does not show emulator. adb does #4952

Closed tschaefermedia closed 5 years ago

tschaefermedia commented 5 years ago

Hello,

I got the following issue. I have my app written and tested on my personal android device, that worked fine. Now I want to test different android versions and created some AVDs and wanted to run the app. But it does not work. adb devices shows the ADV correctly. tns device does only show my hardware device.

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug When I run tns device --log trace the output is the following: `20:00:42,22 | D:\Data\Projects\MyApp >tns device --log trace Error: Trying to handle SIGINT event. CLI overrides this behavior and does not allow handling SIGINT as this causes issues with Ctrl + C in terminal at process.on (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\nativescript-cli.js:22:22) at C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\node_modules\signal-exit\index.js:122:15 at Array.filter () at load (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\node_modules\signal-exit\index.js:120:21) at module.exports (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\node_modules\signal-exit\index.js:35:5) at Object. (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\node_modules\proper-lockfile\lib\lockfile.js:296:1) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) Looking for project in 'D:\Data\Projects\MyApp' Project directory is 'D:\Data\Projects\MyApp'. Loading extensions. Asserting extension nativescript-cloud is installed. Extension nativescript-cloud is installed. Asserting extension nativescript-starter-kits is installed. Extension nativescript-starter-kits is installed. System information: [Object: null prototype] { platform: 'win32', shell: 'C:\WINDOWS\system32\cmd.exe', os: 'Windows 10 Enterprise 6.3.18362', procArch: 'x64', nodeVer: '10.16.0', npmVer: '6.9.0', nodeGypVer: null, nativeScriptCliVersion: '6.0.3', gitVer: '2.19.0.windows.1', dotNetVer: '4.8.03752', javacVersion: '1.8.0_211', javaVersion: '1.8.0_211', adbVer: '1.0.41', androidInstalled: true, monoVer: null, gradleVer: null, isAndroidSdkConfiguredCorrectly: true, xcodeVer: undefined, xcodeprojLocation: null, itunesInstalled: false, cocoaPodsVer: undefined, isCocoaPodsWorkingCorrectly: false, isCocoaPodsUpdateRequired: false, pythonInfo: null } Starting watch on killswitch C:\Users\tosa\AppData\Local\Temp\tosa\KillSwitches\cli spawn: C:\Program Files\nodejs\node.exe "C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\detached-processes\cleanup-process.js" "C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\bootstrap.js" Initializing analytics statuses. Analytics statuses: { TrackFeatureUsage: 'enabled', TrackExceptions: 'enabled' } Will send the following information to Google Analytics: { type: 'googleAnalyticsData', category: 'CLI', googleAnalyticsDataType: 'pageview', path: 'device', title: 'device', customDimensions: { cd5: 'CLI', cd2: 'Vue.js', cd9: 'false' } } spawn: C:\Program Files\nodejs\node.exe "C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\services\analytics\analytics-broker-process.js" "C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\bootstrap.js" Will send the following information to Google Analytics: { type: 'googleAnalyticsData', category: 'CLI', googleAnalyticsDataType: 'event', action: 'Options', label: '{"log":"trace","$0":"_localpath","bundle":"webpack","profileDir":"private"}', customDimensions: { cd2: 'Vue.js', cd9: 'false', cd5: 'CLI' }, value: undefined }

Connected devices & emulators Searching for devices... Options for ios-device-discovery { platform: undefined, shouldReturnImmediateResult: false, emulator: false } iTunes is not installed. Install it on your system and run this command again. spawn: D:\Data\Android\android-sdk\platform-tools\adb "start-server" Result when throw error is false: { stdout: '', stderr: '', exitCode: 0 } spawn: D:\Data\Android\android-sdk\platform-tools\adb "devices" Trying to get information for Android device. Command is: getprop Trying to get information for Android device. Command is: getprop spawn: D:\Data\Android\android-sdk\platform-tools\adb "-s" "8ACY0HR2M" "shell" "getprop" spawn: D:\Data\Android\android-sdk\platform-tools\adb "-s" "emulator-5554" "shell" "getprop" Result when throw error is false: { stdout: '[dalvik.vm.dex2oat-Xms]: [64m]\r\r\n[dalvik.vm.dex2oat-Xmx]: [512m]\r\r\n[dalvik.vm.heapsize]: [384m]\r\r\n[dalvik.vm.image-dex2oat-Xms]: [64m]\r\r\n[dalvik.vm.image-dex2oat-Xmx]: [64m]\r\r\n[dalvik.vm.isa.x86.variant]: [dalvik.vm.isa.x86.features=default]\r\r\n[dalvik.vm.isa.x86_64.features]: [default]\r\r\n[dalvik.vm.isa.x86_64.variant]: [x86_64]\r\r\n[dalvik.vm.lockprof.threshold]: [500]\r\r\n[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]\r\r\n[debug.atrace.tags.enableflags]: [0]\r\r\n[debug.force_rtl]: [0]\r\r\n[dev.bootcomplete]: [1]\r\r\n[gsm.current.phone-type]: [1]\r\r\n[gsm.defaultpdpcontext.active]: [true]\r\r\n[gsm.network.type]: [LTE]\r\r\n[gsm.nitz.time]: [1565891409819]\r\r\n[gsm.operator.alpha]: [Android]\r\r\n[gsm.operator.iso-country]: [us]\r\r\n[gsm.operator.isroaming]: [false]\r\r\n[gsm.operator.numeric]: [310260]\r\r\n[gsm.sim.operator.alpha]: [Android]\r\r\n[gsm.sim.operator.iso-country]: [us]\r\r\n[gsm.sim.operator.numeric]: [310260]\r\r\n[gsm.sim.state]: [READY]\r\r\n[gsm.version.ril-impl]: [android reference-ril 1.0]\r\r\n[init.svc.adbd]: [running]\r\r\n[init.svc.bootanim]: [stopped]\r\r\n[init.svc.bugreport]: [stopped]\r\r\n[init.svc.console]: [running]\r\r\n[init.svc.debuggerd]: [running]\r\r\n[init.svc.debuggerd64]: [running]\r\r\n[init.svc.drm]: [running]\r\r\n[init.svc.dumpstate]: [stopped]\r\r\n[init.svc.encrypt]: [stopped]\r\r\n[init.svc.fingerprintd]: [running]\r\r\n[init.svc.flash_recovery]: [stopped]\r\r\n[init.svc.gatekeeperd]: [running]\r\r\n[init.svc.goldfish-logcat]: [running]\r\r\n[init.svc.goldfish-setup]: [stopped]\r\r\n[init.svc.healthd]: [running]\r\r\n[init.svc.installd]: [running]\r\r\n[init.svc.keystore]: [running]\r\r\n[init.svc.lmkd]: [running]\r\r\n[init.svc.logcatd]: [stopped]\r\r\n[init.svc.logd]: [running]\r\r\n[init.svc.logd-reinit]: [stopped]\r\r\n[init.svc.mdnsd]: [stopped]\r\r\n[init.svc.media]: [running]\r\r\n[init.svc.mtpd]: [stopped]\r\r\n[init.svc.netd]: [running]\r\r\n[init.svc.perfprofd]: [running]\r\r\n[init.svc.pre-recovery]: [stopped]\r\r\n[init.svc.qemu-props]: [stopped]\r\r\n[init.svc.racoon]: [stopped]\r\r\n[init.svc.ril-daemon]: [running]\r\r\n[init.svc.servicemanager]: [running]\r\r\n[init.svc.surfaceflinger]: [running]\r\r\n[init.svc.ueventd]: [running]\r\r\n[init.svc.uncrypt]: [stopped]\r\r\n[init.svc.vold]: [running]\r\r\n[init.svc.zygote]: [running]\r\r\n[init.svc.zygote_secondary]: [running]\r\r\n[net.bt.name]: [Android]\r\r\n[net.change]: [net.dns4]\r\r\n[net.dns1]: [10.0.2.3]\r\r\n[net.dns2]: [10.0.2.4]\r\r\n[net.dns3]: [10.0.2.5]\r\r\n[net.dns4]: [10.0.2.6]\r\r\n[net.eth0.dns1]: [10.0.2.3]\r\r\n[net.eth0.dns2]: [10.0.2.4]\r\r\n[net.eth0.dns3]: [10.0.2.5]\r\r\n[net.eth0.dns4]: [10.0.2.6]\r\r\n[net.eth0.gw]: [10.0.2.2]\r\r\n[net.gprs.local-ip]: [10.0.2.15]\r\r\n[net.hostname]: [android-6307c07d2391077f]\r\r\n[net.qtaguid_enabled]: [1]\r\r\n[net.tcp.default_init_rwnd]: [60]\r\r\n[persist.adb.notify]: [1]\r\r\n[persist.sys.dalvik.vm.lib.2]: [libart.so]\r\r\n[persist.sys.profiler_ms]: [0]\r\r\n[persist.sys.timezone]: [GMT]\r\r\n[persist.sys.usb.config]: [adb]\r\r\n[qemu.adb.secure]: [0]\r\r\n[qemu.cmdline]: [androidboot.logcat=v:* androidboot.consolepipe=qemu_pipe,pipe:logcat]\r\r\n[qemu.gles]: [1]\r\r\n[qemu.hw.mainkeys]: [0]\r\r\n[qemu.logcat]: [start]\r\r\n[qemu.sf.fake_camera]: [front]\r\r\n[qemu.sf.lcd_density]: [420]\r\r\n[qemu.timezone]: [Unknown/Unknown]\r\r\n[rild.libargs]: [-d /dev/ttyS0]\r\r\n[rild.libpath]: [/system/lib/libreference-ril.so]\r\r\n[ro.allow.mock.location]: [0]\r\r\n[ro.baseband]: [unknown]\r\r\n[ro.board.platform]: []\r\r\n[ro.boot.android_dt_dir]: [/sys/bus/platform/devices/ANDR0001:00/properties/android/]\r\r\n[ro.boot.hardware]: [ranchu]\r\r\n[ro.boot.serialno]: [EMULATOR29X0X11X0]\r\r\n[ro.bootimage.build.date]: [Thu May 2 18:25:03 UTC 2019]\r\r\n[ro.bootimage.build.date.utc]: [1556821503]\r\r\n[ro.bootimage.build.fingerprint]: [Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/5525988:userdebug/test-keys]\r\r\n[ro.bootloader]: [unknown]\r\r\n[ro.bootmode]: [unknown]\r\r\n[ro.build.characteristics]: [emulator]\r\r\n[ro.build.date]: [Thu May 2 18:24:44 UTC 2019]\r\r\n[ro.build.date.utc]: [1556821484]\r\r\n[ro.build.description]: [sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys]\r\r\n[ro.build.display.id]: [sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys]\r\r\n[ro.build.fingerprint]: [Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/5525988:userdebug/test-keys]\r\r\n[ro.build.flavor]: [sdk_google_phone_x86_64-userdebug]\r\r\n[ro.build.host]: [abfarm639]\r\r\n[ro.build.id]: [MASTER]\r\r\n[ro.build.product]: [generic_x86_64]\r\r\n[ro.build.tags]: [test-keys]\r\r\n[ro.build.type]: [userdebug]\r\r\n[ro.build.user]: [android-build]\r\r\n[ro.build.version.all_codenames]: [REL]\r\r\n[ro.build.version.base_os]: []\r\r\n[ro.build.version.codename]: [REL]\r\r\n[ro.build.version.incremental]: [5525988]\r\r\n[ro.build.version.preview_sdk]: [0]\r\r\n[ro.build.version.release]: [6.0]\r\r\n[ro.build.version.sdk]: [23]\r\r\n[ro.build.version.security_patch]: [2016-09-06]\r\r\n[ro.com.google.locationfeatures]: [1]\r\r\n[ro.config.alarm_alert]: [Alarm_Classic.ogg]\r\r\n[ro.config.nocheckin]: [yes]\r\r\n[ro.config.notification_sound]: [OnTheHunt.ogg]\r\r\n[ro.crypto.fs_crypto_blkdev]: [/dev/block/dm-0]\r\r\n[ro.crypto.state]: [encrypted]\r\r\n[ro.dalvik.vm.native.bridge]: [0]\r\r\n[ro.debuggable]: [1]\r\r\n[ro.hardware]: [ranchu]\r\r\n[ro.hardware.audio.primary]: [goldfish]\r\r\n[ro.hwui.drop_shadow_cache_size]: [6]\r\r\n[ro.hwui.gradient_cache_size]: [1]\r\r\n[ro.hwui.layer_cache_size]: [48]\r\r\n[ro.hwui.path_cache_size]: [32]\r\r\n[ro.hwui.r_buffer_cache_size]: [8]\r\r\n[ro.hwui.text_large_cache_height]: [1024]\r\r\n[ro.hwui.text_large_cache_width]: [2048]\r\r\n[ro.hwui.text_small_cache_height]: [1024]\r\r\n[ro.hwui.text_small_cache_width]: [1024]\r\r\n[ro.hwui.texture_cache_flushrate]: [0.4]\r\r\n[ro.hwui.texture_cache_size]: [72]\r\r\n[ro.kernel.android.checkjni]: [1]\r\r\n[ro.kernel.android.qemud]: [1]\r\r\n[ro.kernel.androidboot.hardware]: [ranchu]\r\r\n[ro.kernel.androidboot.serialno]: [EMULATOR29X0X11X0]\r\r\n[ro.kernel.clocksource]: [pit]\r\r\n[ro.kernel.cma]: [288M@0-4G]\r\r\n[ro.kernel.console]: [0]\r\r\n[ro.kernel.loop.max_part]: [7]\r\r\n[ro.kernel.memmap]: [0x10000$0xff018000]\r\r\n[ro.kernel.ndns]: [4]\r\r\n[ro.kernel.qemu]: [1]\r\r\n[ro.kernel.qemu.encrypt]: [1]\r\r\n[ro.kernel.qemu.gles]: [1]\r\r\n[ro.kernel.qemu.opengles.version]: [196609]\r\r\n[ro.kernel.qemu.uirenderer]: [skiagl]\r\r\n[ro.kernel.ramoops.mem_address]: [0xff018000]\r\r\n[ro.kernel.ramoops.mem_size]: [0x10000]\r\r\n[ro.opengles.version]: [196609]\r\r\n[ro.product.board]: []\r\r\n[ro.product.brand]: [Android]\r\r\n[ro.product.cpu.abi]: [x86_64]\r\r\n[ro.product.cpu.abilist]: [x86_64,x86]\r\r\n[ro.product.cpu.abilist32]: [x86]\r\r\n[ro.product.cpu.abilist64]: [x86_64]\r\r\n[ro.product.device]: [generic_x86_64]\r\r\n[ro.product.locale]: [en-US]\r\r\n[ro.product.manufacturer]: [unknown]\r\r\n[ro.product.model]: [Android SDK built for x86_64]\r\r\n[ro.product.name]: [sdk_google_phone_x86_64]\r\r\n[ro.qemu.initrc]: [ranchu-encrypt]\r\r\n[ro.radio.use-ppp]: [no]\r\r\n[ro.revision]: [0]\r\r\n[ro.runtime.firstboot]: [1565891466616]\r\r\n[ro.secure]: [1]\r\r\n[ro.serialno]: [EMULATOR29X0X11X0]\r\r\n[ro.wifi.channels]: []\r\r\n[ro.zygote]: [zygote64_32]\r\r\n[selinux.reload_policy]: [1]\r\r\n[service.bootanim.exit]: [1]\r\r\n[status.battery.level]: [5]\r\r\n[status.battery.level_raw]: [50]\r\r\n[status.battery.level_scale]: [9]\r\r\n[status.battery.state]: [Slow]\r\r\n[sys.boot_completed]: [1]\r\r\n[sys.settings_global_version]: [25]\r\r\n[sys.settings_secure_version]: [42]\r\r\n[sys.settings_system_version]: [7]\r\r\n[sys.sysctl.extra_free_kbytes]: [24300]\r\r\n[sys.sysctl.tcp_def_init_rwnd]: [60]\r\r\n[sys.usb.config]: [adb]\r\r\n[sys.usb.state]: [adb]\r\r\n[vold.decrypt]: [trigger_restart_framework]\r\r\n[vold.encrypt_progress]: [100]\r\r\n[vold.encrypt_time_remaining]: [0]\r\r\n[vold.has_adoptable]: [1]\r\r\n[vold.post_fs_data_done]: [1]\r\r\n[wlan.driver.status]: [unloaded]\r\r\n[xmpp.auto-presence]: [true]\r\r\n', stderr: '', exitCode: 0 } { characteristics: 'emulator', date: 'Thu May 2 18:24:44 UTC 2019', 'date.utc': '1556821484', description: 'sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys', 'display.id': 'sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys', fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/5525988:userdebug/test-keys', flavor: 'sdk_google_phone_x86_64-userdebug', host: 'abfarm639', id: 'MASTER', product: 'generic_x86_64', tags: 'test-keys', type: 'userdebug', user: 'android-build', all_codenames: 'REL', base_os: '', codename: 'REL', incremental: '5525988', preview_sdk: '0', release: '6.0', sdk: '23', security_patch: '2016-09-06', board: '', brand: 'Android', 'cpu.abi': 'x86_64', 'cpu.abilist': 'x86_64,x86', 'cpu.abilist32': 'x86', 'cpu.abilist64': 'x86_64', device: 'generic_x86_64', locale: 'en-US', manufacturer: 'unknown', model: 'Android SDK built for x86_64', name: 'sdk_google_phone_x86_64' } { characteristics: 'emulator', date: 'Thu May 2 18:24:44 UTC 2019', 'date.utc': '1556821484', description: 'sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys', 'display.id': 'sdk_google_phone_x86_64-userdebug 6.0 MASTER 5525988 test-keys', fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/5525988:userdebug/test-keys', flavor: 'sdk_google_phone_x86_64-userdebug', host: 'abfarm639', id: 'MASTER', product: 'generic_x86_64', tags: 'test-keys', type: 'userdebug', user: 'android-build', all_codenames: 'REL', base_os: '', codename: 'REL', incremental: '5525988', preview_sdk: '0', release: '6.0', sdk: '23', security_patch: '2016-09-06', board: '', brand: 'Android', 'cpu.abi': 'x86_64', 'cpu.abilist': 'x86_64,x86', 'cpu.abilist32': 'x86', 'cpu.abilist64': 'x86_64', device: 'generic_x86_64', locale: 'en-US', manufacturer: 'unknown', model: 'Android SDK built for x86_64', name: 'sdk_google_phone_x86_64' } spawn: D:\Data\Android\android-sdk\platform-tools\adb "devices" Result when throw error is false: { stdout: '[DEVICE_PROVISIONED]: [1]\r\n[aaudio.hw_burst_min_usec]: [2000]\r\n[aaudio.mmap_exclusive_policy]: [2]\r\n[aaudio.mmap_policy]: [2]\r\n[af.fast_track_multiplier]: [1]\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-minidebuginfo]: [true]\r\n[dalvik.vm.dexopt.secondary]: [true]\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.arm.features]: [default]\r\n[dalvik.vm.isa.arm.variant]: [cortex-a75]\r\n[dalvik.vm.isa.arm64.features]: [default]\r\n[dalvik.vm.isa.arm64.variant]: [cortex-a75]\r\n[dalvik.vm.stack-trace-dir]: [/data/anr]\r\n[dalvik.vm.usejit]: [true]\r\n[dalvik.vm.usejitprofiles]: [true]\r\n[debug.atrace.tags.enableflags]: [0]\r\n[debug.force_rtl]: [0]\r\n[debug.gralloc.enable_fb_ubwc]: [1]\r\n[debug.sf.early_app_phase_offset_ns]: [500000]\r\n[debug.sf.early_gl_app_phase_offset_ns]: [15000000]\r\n[debug.sf.early_gl_phase_offset_ns]: [3000000]\r\n[debug.sf.early_phase_offset_ns]: [500000]\r\n[debug.sf.hw]: [1]\r\n[dev.bootcomplete]: [1]\r\n[drm.service.enabled]: [true]\r\n[gsm.current.phone-type]: [1]\r\n[gsm.defaultpdpcontext.active]: [true]\r\n[gsm.network.type]: [LTE]\r\n[gsm.operator.alpha]: [Vodafone.de]\r\n[gsm.operator.iso-country]: [de]\r\n[gsm.operator.isroaming]: [false]\r\n[gsm.operator.numeric]: [26202]\r\n[gsm.sim.operator.alpha]: []\r\n[gsm.sim.operator.iso-country]: [de]\r\n[gsm.sim.operator.numeric]: [26202]\r\n[gsm.sim.state]: [LOADED]\r\n[gsm.version.baseband]: [g845-00017-190312-B-5369743]\r\n[gsm.version.ril-impl]: [Qualcomm RIL 1.0]\r\n[hwservicemanager.ready]: [true]\r\n[init.svc.adbd]: [running]\r\n[init.svc.adsprpcd]: [running]\r\n[init.svc.audioserver]: [running]\r\n[init.svc.bootanim]: [stopped]\r\n[init.svc.bufferhubd]: [running]\r\n[init.svc.cameraserver]: [running]\r\n[init.svc.cdsprpcd]: [running]\r\n[init.svc.cnd]: [running]\r\n[init.svc.cnss-daemon]: [running]\r\n[init.svc.confirmationui-1-0]: [running]\r\n[init.svc.devstart_sh]: [stopped]\r\n[init.svc.drm]: [running]\r\n[init.svc.easelmanagerd]: [running]\r\n[init.svc.fps_hal]: [running]\r\n[init.svc.gatekeeper-1-0]: [running]\r\n[init.svc.gatekeeperd]: [running]\r\n[init.svc.gnss_service]: [running]\r\n[init.svc.hidl_memory]: [running]\r\n[init.svc.hwservicemanager]: [running]\r\n[init.svc.ims_rtp_daemon]: [running]\r\n[init.svc.imsdatadaemon]: [running]\r\n[init.svc.imsqmidaemon]: [running]\r\n[init.svc.imsrcsservice]: [running]\r\n[init.svc.incidentd]: [running]\r\n[init.svc.init-radio-sh]: [stopped]\r\n[init.svc.insmod_sh]: [stopped]\r\n[init.svc.installd]: [running]\r\n[init.svc.ipacm]: [running]\r\n[init.svc.ipastart_sh]: [stopped]\r\n[init.svc.irsc_util]: [stopped]\r\n[init.svc.keymaster-4-0]: [running]\r\n[init.svc.keystore]: [running]\r\n[init.svc.lmkd]: [running]\r\n[init.svc.loc_launcher]: [running]\r\n[init.svc.logd]: [running]\r\n[init.svc.logd-reinit]: [stopped]\r\n[init.svc.mdnsd]: [stopped]\r\n[init.svc.media]: [running]\r\n[init.svc.mediadrm]: [running]\r\n[init.svc.mediaextractor]: [running]\r\n[init.svc.mediametrics]: [running]\r\n[init.svc.msm_irqbalance]: [running]\r\n[init.svc.netd]: [running]\r\n[init.svc.netmgrd]: [running]\r\n[init.svc.neuralnetworks_hal_service]: [running]\r\n[init.svc.neuralnetworks_hal_service_paintbox]: [running]\r\n[init.svc.nfc_hal_service]: [running]\r\n[init.svc.pd_mapper]: [running]\r\n[init.svc.per_proxy]: [running]\r\n[init.svc.performanced]: [running]\r\n[init.svc.port-bridge]: [running]\r\n[init.svc.ppd]: [running]\r\n[init.svc.rmt_storage]: [running]\r\n[init.svc.sensors.qti]: [running]\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.tftp_server]: [running]\r\n[init.svc.thermal-hal-1-1]: [running]\r\n[init.svc.thermalservice]: [running]\r\n[init.svc.time_daemon]: [running]\r\n[init.svc.tombstoned]: [running]\r\n[init.svc.traced]: [running]\r\n[init.svc.traced_probes]: [running]\r\n[init.svc.tui_comm-1-0]: [running]\r\n[init.svc.ueventd]: [running]\r\n[init.svc.update_engine]: [running]\r\n[init.svc.update_verifier_nonencrypted]: [stopped]\r\n[init.svc.usbd]: [stopped]\r\n[init.svc.vendor-qti-media-c2-hal-1-0]: [running]\r\n[init.svc.virtual_touchpad]: [running]\r\n[init.svc.vndservicemanager]: [running]\r\n[init.svc.vold]: [running]\r\n[init.svc.vr_hwc]: [running]\r\n[init.svc.wait_for_strongbox]: [stopped]\r\n[init.svc.wificond]: [running]\r\n[init.svc.wireless_charger]: [running]\r\n[init.svc.wpa_supplicant]: [running]\r\n[init.svc.zygote]: [running]\r\n[init.svc.zygote_secondary]: [running]\r\n[keyguard.no_require_sim]: [true]\r\n[log.tag.stats_log]: [I]\r\n[masterclear.allow_retain_esim_profiles_after_fdr]: [true]\r\n[media.aac_51_output_enabled]: [true]\r\n[media.mediadrmservice.enable]: [true]\r\n[media.stagefright.enable-aac]: [true]\r\n[media.stagefright.enable-http]: [true]\r\n[media.stagefright.enable-player]: [true]\r\n[media.stagefright.enable-qcp]: [true]\r\n[media.stagefright.enable-scan]: [true]\r\n[mm.enable.qcom_parser]: [13631487]\r\n[mm.enable.smoothstreaming]: [true]\r\n[mmp.enable.3g2]: [true]\r\n[net.bt.name]: [Android]\r\n[net.qtaguid_enabled]: [1]\r\n[net.tcp.default_init_rwnd]: [60]\r\n[nfc.initialized]: [true]\r\n[partition.product.verified]: [2]\r\n[partition.system.verified]: [2]\r\n[partition.vendor.verified]: [2]\r\n[persist.camera.googfd.enable]: [1]\r\n[persist.camera.gzoom.at]: [0]\r\n[persist.camera.is_type]: [5]\r\n[persist.camera.logical.default]: [1]\r\n[persist.data.df.dev_name]: [rmnet_usb0]\r\n[persist.data.mode]: [concurrent]\r\n[persist.fuse_sdcard]: [true]\r\n[persist.mm.enable.prefetch]: [true]\r\n[persist.radio.RATE_ADAPT_ENABLE]: [1]\r\n[persist.radio.ROTATION_ENABLE]: [1]\r\n[persist.radio.VT_ENABLE]: [1]\r\n[persist.radio.VT_HYBRID_ENABLE]: [1]\r\n[persist.radio.airplane_mode_on]: [0]\r\n[persist.radio.enable_tel_mon]: [enabled]\r\n[persist.radio.lowpowermonitor.start]: [disabled]\r\n[persist.radio.poweranomaly.start]: [disabled]\r\n[persist.radio.videopause.mode]: [1]\r\n[persist.rcs.supported]: [1]\r\n[persist.rild.nitz_long_ons_0]: []\r\n[persist.rild.nitz_long_ons_1]: []\r\n[persist.rild.nitz_long_ons_2]: []\r\n[persist.rild.nitz_long_ons_3]: []\r\n[persist.rild.nitz_plmn]: []\r\n[persist.rild.nitz_short_ons_0]: []\r\n[persist.rild.nitz_short_ons_1]: []\r\n[persist.rild.nitz_short_ons_2]: []\r\n[persist.rild.nitz_short_ons_3]: []\r\n[persist.sys.boot.reason]: [reboot,reboot-ab-update]\r\n[persist.sys.dalvik.vm.lib.2]: [libart.so]\r\n[persist.sys.displayinset.top]: [0]\r\n[persist.sys.gps.lpp]: [0]\r\n[persist.sys.locale]: [de-DE]\r\n[persist.sys.sf.color_saturation]: [1.0]\r\n[persist.sys.sf.native_mode]: [2]\r\n[persist.sys.timezone]: [Europe/Berlin]\r\n[persist.sys.usb.config]: [adb]\r\n[persist.sys.webview.vmsize]: [123116928]\r\n[persist.timed.enable]: [true]\r\n[persist.traced.enable]: [1]\r\n[persist.vendor.camera.multicam]: [1]\r\n[persist.vendor.cne.feature]: [1]\r\n[persist.vendor.radio.adb_log_on]: [0]\r\n[persist.vendor.radio.apm_sim_not_pwdn]: [1]\r\n[persist.vendor.radio.ci_status]: [4]\r\n[persist.vendor.radio.cnv.ver_info]: [MCFG-g845-00017-190215-B-5314219\r\n]\r\n[persist.vendor.radio.cnv0]: [4]\r\n[persist.vendor.radio.custom_ecc]: [1]\r\n[persist.vendor.radio.data_con_rprt]: [true]\r\n[persist.vendor.radio.data_ltd_sys_ind]: [1]\r\n[persist.vendor.radio.no_wait_for_card]: [1]\r\n[persist.vendor.radio.pwropt_modepref_0]: [10]\r\n[persist.vendor.radio.relay_oprt_change]: [1]\r\n[persist.vendor.radio.ril_payload_on]: [0]\r\n[persist.vendor.radio.sglte_target]: [0]\r\n[persist.vendor.radio.sib16_support]: [1]\r\n[persist.vendor.radio.snapshot_enabled]: [0]\r\n[persist.vendor.radio.snapshot_timer]: [0]\r\n[persist.vendor.radio.vdp_on_ims_cap]: [0]\r\n[pm.dexopt.ab-ota]: [speed-profile]\r\n[pm.dexopt.bg-dexopt]: [speed-profile]\r\n[pm.dexopt.boot]: [verify]\r\n[pm.dexopt.first-boot]: [quicken]\r\n[pm.dexopt.inactive]: [verify]\r\n[pm.dexopt.install]: [speed-profile]\r\n[pm.dexopt.priv-apps-oob]: [false]\r\n[pm.dexopt.priv-apps-oob-list]: [ALL]\r\n[pm.dexopt.shared]: [speed]\r\n[ril.ecclist]: [911,112,*911,#911]\r\n[ril.qcril_pre_init_lock_held]: [0]\r\n[ril.vendor.radio.db_upgrade]: [1]\r\n[ro.actionable_compatible_property.enabled]: [true]\r\n[ro.adb.secure]: [1]\r\n[ro.allow.mock.location]: [0]\r\n[ro.apk_verity.mode]: [1]\r\n[ro.atrace.core.services]: [com.google.android.gms,com.google.android.gms.ui,com.google.android.gms.persistent]\r\n[ro.audio.monitorRotation]: [true]\r\n[ro.baseband]: [sdm]\r\n[ro.board.platform]: [sdm845]\r\n[ro.boot.avb_version]: [1.1]\r\n[ro.boot.baseband]: [sdm]\r\n[ro.boot.blockchain]: [disabled]\r\n[ro.boot.bootdevice]: [1d84000.ufshc]\r\n[ro.boot.bootloader]: [b1c1-0.1-5578427]\r\n[ro.boot.bootreason]: [reboot]\r\n[ro.boot.boottime]: [0BLE:71,1BLL:30,1BLE:768,2BLL:120,2BLE:730,SW:0,KL:0,KD:93,ODT:105,AVB:53]\r\n[ro.boot.cid]: [00000000]\r\n[ro.boot.ddr_info]: [Micron]\r\n[ro.boot.ddr_size]: [4GB]\r\n[ro.boot.dtbo_idx]: [13]\r\n[ro.boot.flash.locked]: [1]\r\n[ro.boot.hardware]: [crosshatch]\r\n[ro.boot.hardware.ddr]: [4GB,Micron,LPDDR4X]\r\n[ro.boot.hardware.platform]: [sdm845]\r\n[ro.boot.hardware.revision]: [MP1.0]\r\n[ro.boot.hardware.sku]: [G013C]\r\n[ro.boot.hardware.ufs]: [64GB,Micron]\r\n[ro.boot.keymaster]: [1]\r\n[ro.boot.product.hardware.sku]: [G013C]\r\n[ro.boot.revision]: [MP1.0]\r\n[ro.boot.serialno]: [8ACY0HR2M]\r\n[ro.boot.slot_suffix]: [_a]\r\n[ro.boot.vbmeta.avb_version]: [1.1]\r\n[ro.boot.vbmeta.device_state]: [locked]\r\n[ro.boot.vbmeta.digest]: [156e202e479a85e49d9d04bb7512d4f661153114e9689df1d957e70bb1a51138]\r\n[ro.boot.vbmeta.hash_alg]: [sha256]\r\n[ro.boot.vbmeta.size]: [4480]\r\n[ro.boot.verifiedbootstate]: [green]\r\n[ro.boot.veritymode]: [enforcing]\r\n[ro.boot.wificountrycode]: [00]\r\n[ro.bootimage.build.date]: [Tue Jun 18 20:00:29 UTC 2019]\r\n[ro.bootimage.build.date.utc]: [1560888029]\r\n[ro.bootimage.build.fingerprint]: [google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/release-keys]\r\n[ro.bootloader]: [b1c1-0.1-5578427]\r\n[ro.bootmode]: [unknown]\r\n[ro.build.ab_update]: [true]\r\n[ro.build.characteristics]: [nosdcard]\r\n[ro.build.date]: [Tue Jun 18 20:00:29 UTC 2019]\r\n[ro.build.date.utc]: [1560888029]\r\n[ro.build.description]: [crosshatch-user 9 PQ3A.190801.002 5670241 release-keys]\r\n[ro.build.display.id]: [PQ3A.190801.002]\r\n[ro.build.expect.baseband]: [g845-00017-190312-B-5369743]\r\n[ro.build.expect.bootloader]: [b1c1-0.1-5578427]\r\n[ro.build.fingerprint]: [google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/release-keys]\r\n[ro.build.flavor]: [crosshatch-user]\r\n[ro.build.host]: [abfarm830]\r\n[ro.build.id]: [PQ3A.190801.002]\r\n[ro.build.product]: [crosshatch]\r\n[ro.build.system_root_image]: [true]\r\n[ro.build.tags]: [release-keys]\r\n[ro.build.type]: [user]\r\n[ro.build.user]: [android-build]\r\n[ro.build.version.all_codenames]: [REL]\r\n[ro.build.version.base_os]: []\r\n[ro.build.version.codename]: [REL]\r\n[ro.build.version.incremental]: [5670241]\r\n[ro.build.version.min_supported_target_sdk]: [17]\r\n[ro.build.version.preview_sdk]: [0]\r\n[ro.build.version.release]: [9]\r\n[ro.build.version.sdk]: [28]\r\n[ro.build.version.security_patch]: [2019-08-01]\r\n[ro.carrier]: [unknown]\r\n[ro.com.android.dataroaming]: [false]\r\n[ro.com.android.prov_mobiledata]: [false]\r\n[ro.com.google.clientidbase]: [android-google]\r\n[ro.com.google.ime.bs_theme]: [true]\r\n[ro.com.google.ime.theme_id]: [5]\r\n[ro.config.alarm_alert]: [Bright_morning.ogg]\r\n[ro.config.media_vol_steps]: [25]\r\n[ro.config.notification_sound]: [Popcorn.ogg]\r\n[ro.config.ringtone]: [The_big_adventure.ogg]\r\n[ro.config.vc_call_vol_steps]: [7]\r\n[ro.control_privapp_permissions]: [enforce]\r\n[ro.cp_system_other_odex]: [1]\r\n[ro.crypto.state]: [encrypted]\r\n[ro.crypto.type]: [file]\r\n[ro.dalvik.vm.native.bridge]: [0]\r\n[ro.debuggable]: [0]\r\n[ro.device_owner]: [false]\r\n[ro.error.receiver.system.apps]: [com.google.android.gms]\r\n[ro.frp.pst]: [/dev/block/bootdevice/by-name/frp]\r\n[ro.hardware]: [crosshatch]\r\n[ro.hardware.keystore_desede]: [true]\r\n[ro.lmk.critical]: [0]\r\n[ro.lmk.critical_upgrade]: [false]\r\n[ro.lmk.downgrade_pressure]: [100]\r\n[ro.lmk.kill_heaviest_task]: [true]\r\n[ro.lmk.kill_timeout_ms]: [100]\r\n[ro.lmk.log_stats]: [true]\r\n[ro.lmk.low]: [1001]\r\n[ro.lmk.medium]: [800]\r\n[ro.lmk.upgrade_pressure]: [100]\r\n[ro.lmk.use_minfree_levels]: [true]\r\n[ro.logd.size.stats]: [64K]\r\n[ro.oem.key1]: [G013C]\r\n[ro.oem_unlock_supported]: [1]\r\n[ro.opa.eligible_device]: [true]\r\n[ro.opengles.version]: [196610]\r\n[ro.product.board]: [crosshatch]\r\n[ro.product.brand]: [google]\r\n[ro.product.build.date]: [Tue Jun 18 20:00:29 UTC 2019]\r\n[ro.product.build.date.utc]: [1560888029]\r\n[ro.product.build.fingerprint]: [google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/dev-keys]\r\n[ro.product.cpu.abi]: [arm64-v8a]\r\n[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]\r\n[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]\r\n[ro.product.cpu.abilist64]: [arm64-v8a]\r\n[ro.product.device]: [crosshatch]\r\n[ro.product.first_api_level]: [28]\r\n[ro.product.locale]: [en-US]\r\n[ro.product.manufacturer]: [Google]\r\n[ro.product.model]: [Pixel 3 XL]\r\n[ro.product.name]: [crosshatch]\r\n[ro.product.vendor.brand]: [google]\r\n[ro.product.vendor.device]: [crosshatch]\r\n[ro.product.vendor.manufacturer]: [Google]\r\n[ro.product.vendor.model]: [Pixel 3 XL]\r\n[ro.product.vendor.name]: [crosshatch]\r\n[ro.property_service.version]: [2]\r\n[ro.qti.sdk.sensors.gestures]: [false]\r\n[ro.qti.sensors.amd]: [false]\r\n[ro.qti.sensors.cmc]: [false]\r\n[ro.qti.sensors.dev_ori]: [true]\r\n[ro.qti.sensors.facing]: [false]\r\n[ro.qti.sensors.pedometer]: [false]\r\n[ro.qti.sensors.rmd]: [false]\r\n[ro.qti.sensors.scrn_ortn]: [false]\r\n[ro.qti.sensors.step_counter]: [false]\r\n[ro.qti.sensors.step_detector]: [false]\r\n[ro.qti.sensors.wu]: [false]\r\n[ro.radio.log_loc]: [/data/vendor/modem_dump]\r\n[ro.radio.log_prefix]: [modemlog]\r\n[ro.revision]: [MP1.0]\r\n[ro.secure]: [1]\r\n[ro.serialno]: [8ACY0HR2M]\r\n[ro.setupwizard.enterprise_mode]: [1]\r\n[ro.setupwizard.esim_cid_ignore]: [00000001]\r\n[ro.setupwizard.rotation_locked]: [true]\r\n[ro.sf.lcd_density]: [560]\r\n[ro.storage_manager.enabled]: [true]\r\n[ro.storage_manager.show_opt_in]: [false]\r\n[ro.sys.sdcardfs]: [1]\r\n[ro.telephony.default_cdma_sub]: [0]\r\n[ro.telephony.default_network]: [10]\r\n[ro.treble.enabled]: [true]\r\n[ro.url.legal]: [http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html]\r\n[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/android/basic/privacy.html]\r\n[ro.vendor.build.date]: [Tue Jun 18 20:00:29 UTC 2019]\r\n[ro.vendor.build.date.utc]: [1560888029]\r\n[ro.vendor.build.fingerprint]: [google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/release-keys]\r\n[ro.vendor.build.security_patch]: [2018-09-05]\r\n[ro.vendor.camera.free_buf_early]: [true]\r\n[ro.vendor.ril.svdo]: [false]\r\n[ro.vendor.ril.svlte1x]: [false]\r\n[ro.vndk.version]: [28]\r\n[ro.wifi.channels]: []\r\n[ro.zygote]: [zygote64_32]\r\n[security.perf_harden]: [1]\r\n[selinux.restorecon_recursive]: [/data/misc_ce/0]\r\n[service.bootanim.exit]: [1]\r\n[service.sf.present_timestamp]: [1]\r\n[setupwizard.enable_assist_gesture_training]: [true]\r\n[setupwizard.feature.baseline_setupwizard_enabled]: [true]\r\n[setupwizard.theme]: [glif_v3_light]\r\n[sys.boot.reason]: [reboot,ota]\r\n[sys.boot_completed]: [1]\r\n[sys.dvr.performance]: [idle]\r\n[sys.logbootcomplete]: [1]\r\n[sys.oem_unlock_allowed]: [0]\r\n[sys.rescue_boot_count]: [1]\r\n[sys.retaildemo.enabled]: [0]\r\n[sys.sysctl.extra_free_kbytes]: [49950]\r\n[sys.sysctl.tcp_def_init_rwnd]: [60]\r\n[sys.uidcpupower]: []\r\n[sys.usb.config]: [adb]\r\n[sys.usb.configfs]: [2]\r\n[sys.usb.controller]: [a600000.dwc3]\r\n[sys.usb.ffs.ready]: [1]\r\n[sys.usb.mtp.device_type]: [3]\r\n[sys.user.0.ce_available]: [true]\r\n[sys.wifitracing.started]: [1]\r\n[telephony.lteOnCdmaDevice]: [1]\r\n[vidc.enc.dcvs.extra-buff-count]: [2]\r\n[vidc.enc.disable.pq]: [1]\r\n[vold.has_adoptable]: [0]\r\n[vold.has_quota]: [1]\r\n[vold.has_reserved]: [1]\r\n[vold.post_fs_data_done]: [1]\r\n[wifi.interface]: [wlan0]\r\n', stderr: '', exitCode: 0 } { ab_update: 'true', characteristics: 'nosdcard', date: 'Tue Jun 18 20:00:29 UTC 2019', 'date.utc': '1560888029', description: 'crosshatch-user 9 PQ3A.190801.002 5670241 release-keys', 'display.id': 'PQ3A.190801.002', 'expect.baseband': 'g845-00017-190312-B-5369743', 'expect.bootloader': 'b1c1-0.1-5578427', fingerprint: 'google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/release-keys', flavor: 'crosshatch-user', host: 'abfarm830', id: 'PQ3A.190801.002', product: 'crosshatch', system_root_image: 'true', tags: 'release-keys', type: 'user', user: 'android-build', all_codenames: 'REL', base_os: '', codename: 'REL', incremental: '5670241', min_supported_target_sdk: '17', preview_sdk: '0', release: '9', sdk: '28', security_patch: '2019-08-01', board: 'crosshatch', brand: 'google', 'build.date': 'Tue Jun 18 20:00:29 UTC 2019', 'build.date.utc': '1560888029', 'build.fingerprint': 'google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/dev-keys', 'cpu.abi': 'arm64-v8a', 'cpu.abilist': 'arm64-v8a,armeabi-v7a,armeabi', 'cpu.abilist32': 'armeabi-v7a,armeabi', 'cpu.abilist64': 'arm64-v8a', device: 'crosshatch', first_api_level: '28', locale: 'en-US', manufacturer: 'Google', model: 'Pixel 3 XL', name: 'crosshatch', 'vendor.brand': 'google', 'vendor.device': 'crosshatch', 'vendor.manufacturer': 'Google', 'vendor.model': 'Pixel 3 XL', 'vendor.name': 'crosshatch' } { ab_update: 'true', characteristics: 'nosdcard', date: 'Tue Jun 18 20:00:29 UTC 2019', 'date.utc': '1560888029', description: 'crosshatch-user 9 PQ3A.190801.002 5670241 release-keys', 'display.id': 'PQ3A.190801.002', 'expect.baseband': 'g845-00017-190312-B-5369743', 'expect.bootloader': 'b1c1-0.1-5578427', fingerprint: 'google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/release-keys', flavor: 'crosshatch-user', host: 'abfarm830', id: 'PQ3A.190801.002', product: 'crosshatch', system_root_image: 'true', tags: 'release-keys', type: 'user', user: 'android-build', all_codenames: 'REL', base_os: '', codename: 'REL', incremental: '5670241', min_supported_target_sdk: '17', preview_sdk: '0', release: '9', sdk: '28', security_patch: '2019-08-01', board: 'crosshatch', brand: 'google', 'build.date': 'Tue Jun 18 20:00:29 UTC 2019', 'build.date.utc': '1560888029', 'build.fingerprint': 'google/crosshatch/crosshatch:9/PQ3A.190801.002/5670241:user/dev-keys', 'cpu.abi': 'arm64-v8a', 'cpu.abilist': 'arm64-v8a,armeabi-v7a,armeabi', 'cpu.abilist32': 'armeabi-v7a,armeabi', 'cpu.abilist64': 'arm64-v8a', device: 'crosshatch', first_api_level: '28', locale: 'en-US', manufacturer: 'Google', model: 'Pixel 3 XL', name: 'crosshatch', 'vendor.brand': 'google', 'vendor.device': 'crosshatch', 'vendor.manufacturer': 'Google', 'vendor.model': 'Pixel 3 XL', 'vendor.name': 'crosshatch' } spawn: D:\Data\Android\android-sdk\platform-tools\adb "devices" execFile: D:\Data\Android\android-sdk\platform-tools\adb "-s" "8ACY0HR2M" "shell" "getprop" "ro.product.manufacturer" execFile: D:\Data\Android\android-sdk\platform-tools\adb "-s" "8ACY0HR2M" "shell" "getprop" "ro.product.manufacturer" execFile: D:\Data\Android\android-sdk\platform-tools\adb "-s" "8ACY0HR2M" "shell" "getprop" "ro.build.product" execFile: D:\Data\Android\android-sdk\platform-tools\adb "-s" "8ACY0HR2M" "shell" "getprop" "ro.build.product" Error while checking for devices. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at validateString (internal/validators.js:125:11) at Object.join (path.js:427:7) at AndroidVirtualDeviceService. (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\common\mobile\android\android-virtual-device-service.js:65:38) at Generator.next () at fulfilled (C:\Users\tosa\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\common\mobile\android\android-virtual-device-service.js:10:58) at process._tickCallback (internal/process/next_tick.js:68:7) Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again. { identifier: '8ACY0HR2M', displayName: 'crosshatch', model: 'Pixel 3 XL', version: '9', vendor: 'google', platform: 'Android', status: 'Connected', errorHelp: null, isTablet: false, type: 'Device' } Found device with identifier '8ACY0HR2M'`

To Reproduce

Expected behavior

Sample project

Additional context I run on Windows 10 1903. Andoird Studio is in the latest version.

rosen-vladimirov commented 5 years ago

Hey @tschaefermedia , Thank you for the detailed log! Based on it, we've reproduced the issue. It happens when you use custom location for downloading Android images and you've not set the ANDROID_AVD_HOME environment variable. By default, CLI checks the value of the variable and the Users's home directory (.android/avd directory in it). When you use custom location, you need to set ANDROID_AVD_HOME environment variable to point to the directory where your <your custom dir>/.android/avd dir . Anyway, CLI should handle this case better, so I've marked the issue as a valid bug.

Meanwhile, can you try setting the mentioned variable and see if it resolves the issue on your side?

tschaefermedia commented 5 years ago

Thank you! I will try it and give feedback if it worked

tschaefermedia commented 5 years ago

The fix from @rosen-vladimirov works! Thank you!