"tns run android" does not work without internet


#1

I don’t know why but nativescript doesn’t work without internent
my error is :
Error: getaddrinfo ENOENT localhost:60236
at Object.exports._errnoException (util.js:1020:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

localhost: 60236 show this : Error loading app, please verify public key or device parameters


#2

the Only way to fool tns CLI is to connect to a hotspot, router or your smartphone even if theres no Internet i will work, i use the testbed phone without internet but just turn on wifi hotspot and have your computer connect to it DONE!


#3

Status of my project


#4

tns_error

Error


#5

when I use "tns run android --log trace"
E:\PRIVATE_PROJECT\NativeScript\learning>tns run android --log trace
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.
execFile: C:\android-sdk\platform-tools\adb "help"
Exec npm -v
stdout: 3.10.10

stderr:
spawn: java "-version"
Exec node-gyp -v
stdout:
stderr: ‘node-gyp’ n’est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

Error while executing node-gyp -v: Command failed: node-gyp -v
’node-gyp’ n’est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

Exec “C:\android-sdk\platform-tools\adb” version
stdout: Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android
Installed as C:\android-sdk\platform-tools\adb.exe

stderr:
spawn: C:\android-sdk\emulator\emulator "-help"
Result when throw error is false:
{ stdout: 'Android Emulator usage: emulator [options] [-qemu args]\r\n options:\r\n -list-avds list available AVDs\r\n -sysdir search for system disk images in \r\n -system read initial system image from \r\n -writable-system make system image writable after ‘adb remount’\r\n -datadir write user data into \r\n -kernel use specific emulated kernel\r\n -ramdisk ramdisk image (default /ramdisk.img\r\n -image obsolete, use -system instead\r\n -initdata same as '-init-data ‘\r\n -data data image (default /userdata-qemu.img\r\n -partition-size system/data partition size in MBs\r\n -cache cache partition image (default is temporary file)\r\n -cache-size cache partition size in MBs\r\n -no-cache disable the cache partition\r\n -nocache same as -no-cache\r\n -sdcard SD card image (default /sdcard.img\r\n -snapstorage file that contains all state snapshots (default /snapshots.img)\r\n -no-snapstorage do not mount a snapshot storage file (this disables all snapshot functionality)\r\n -snapshot name of snapshot within storage file for auto-start and auto-save (default ‘default-boot’)\r\n -no-snapshot perform a full boot and do not do not auto-save, but qemu vmload and vmsave operate on snapstorage\r\n -no-snapshot-save do not auto-save to snapshot on exit: abandon changed state\r\n -no-snapshot-load do not auto-start from snapshot: perform a full boot\r\n -snapshot-list show a list of available snapshots\r\n -no-snapshot-update-time do not do try to correct snapshot time on restore\r\n -wipe-data reset the user data image (copy it from initdata)\r\n -avd use a specific android virtual device\r\n -skindir search skins in (default /skins)\r\n -skin select a given skin\r\n -no-skin deprecated: create an AVD with no skin instead\r\n -noskin same as -no-skin\r\n -memory physical RAM size in MBs\r\n -cores Set number of CPU cores to emulator\r\n -accel Configure emulation acceleration\r\n -no-accel Same as ‘-accel off’\r\n -ranchu Use new emulator backend instead of the classic one\r\n -engine Select engine. auto|classic|qemu2\r\n -netspeed maximum network download/upload speeds\r\n -netdelay network latency emulation\r\n -netfast disable network shaping\r\n -code-profile enable code profiling\r\n -show-kernel display kernel messages\r\n -shell enable root shell on current terminal\r\n -no-jni disable JNI checks in the Dalvik runtime\r\n -nojni same as -no-jni\r\n -logcat enable logcat output with given tags\r\n -no-audio disable audio support\r\n -noaudio same as -no-audio\r\n -audio use specific audio backend\r\n -radio redirect radio modem interface to character device\r\n -port TCP port that will be used for the console\r\n -ports , TCP ports used for the console and adb bridge\r\n -onion use overlay PNG image over screen\r\n -onion-alpha <%age> specify onion-skin translucency\r\n -onion-rotation 0|1|2|3 specify onion-skin rotation\r\n -dpi-device specify device’s resolution in dpi (default 165)\r\n -scale scale emulator window (deprecated)\r\n -http-proxy make TCP connections through a HTTP/HTTPS proxy\r\n -timezone use this timezone instead of the host’s default\r\n -dns-server use this DNS server(s) in the emulated system\r\n -cpu-delay throttle CPU emulation\r\n -no-boot-anim disable animation for faster boot\r\n -no-window disable graphical window display\r\n -version display emulator version number\r\n -report-console report console port to remote socket\r\n -gps redirect NMEA GPS to character device\r\n -shell-serial specific character device for root shell\r\n -tcpdump capture network packets to file\r\n -bootchart enable bootcharting\r\n -charmap use specific key character map\r\n -prop = set system property on boot\r\n -shared-net-id join the shared network, using IP address 10.1.2.\r\n -gpu set hardware OpenGLES emulation mode\r\n -camera-back set emulation mode for a camera facing back\r\n -camera-front set emulation mode for a camera facing front\r\n -webcam-list lists web cameras available for emulation\r\n -screen set emulated screen mode\r\n -force-32bit always use 32-bit emulator\r\n -selinux <disabled|permissive> Set SELinux to either disabled or permissive mode\r\n -unix-pipe Add to the list of allowed Unix pipes\r\n -fixed-scale Use fixed 1:1 scale for the initial emulator window.\r\n -wait-for-debugger Pause on launch and wait for a debugger process to attach before resuming\r\n -skip-adb-auth Skip adb authentication dialogue\r\n\r\n -qemu args… pass arguments to qemu\r\n -qemu -h display qemu help\r\n\r\n -verbose same as ‘-debug-init’\r\n -debug enable/disable debug messages\r\n -debug- enable specific debug messages\r\n -debug-no- disable specific debug messages\r\n\r\n -help print this help\r\n -help- print option-specific help\r\n\r\n -help-disk-images about disk images\r\n -help-debug-tags debug tags for -debug \r\n -help-char-devices character specification\r\n -help-environment environment variables\r\n -help-virtual-device virtual device management\r\n -help-sdk-images about disk images when using the SDK\r\n -help-build-images about disk images when building Android\r\n -help-all prints all help content\r\n\r\n’,
stderr: ‘’,
exitCode: 0 }
The result of checking is Android Emulator installed is:

  • stdout: Android Emulator usage: emulator [options] [-qemu args]
    options:
    -list-avds list available AVDs
    -sysdir search for system disk images in
    -system read initial system image from
    -writable-system make system image writable after ‘adb remount’
    -datadir write user data into
    -kernel use specific emulated kernel
    -ramdisk ramdisk image (default /ramdisk.img
    -image obsolete, use -system instead
    -initdata same as '-init-data '
    -data data image (default /userdata-qemu.img
    -partition-size system/data partition size in MBs
    -cache cache partition image (default is temporary file)
    -cache-size cache partition size in MBs
    -no-cache disable the cache partition
    -nocache same as -no-cache
    -sdcard SD card image (default /sdcard.img
    -snapstorage file that contains all state snapshots (default /snapshots.img)
    -no-snapstorage do not mount a snapshot storage file (this disables all snapshot functionality)
    -snapshot name of snapshot within storage file for auto-start and auto-save (default ‘default-boot’)
    -no-snapshot perform a full boot and do not do not auto-save, but qemu vmload and vmsave operate on snapstorage
    -no-snapshot-save do not auto-save to snapshot on exit: abandon changed state
    -no-snapshot-load do not auto-start from snapshot: perform a full boot
    -snapshot-list show a list of available snapshots
    -no-snapshot-update-time do not do try to correct snapshot time on restore
    -wipe-data reset the user data image (copy it from initdata)
    -avd use a specific android virtual device
    -skindir search skins in (default /skins)
    -skin select a given skin
    -no-skin deprecated: create an AVD with no skin instead
    -noskin same as -no-skin
    -memory physical RAM size in MBs
    -cores Set number of CPU cores to emulator
    -accel Configure emulation acceleration
    -no-accel Same as ‘-accel off’
    -ranchu Use new emulator backend instead of the classic one
    -engine Select engine. auto|classic|qemu2
    -netspeed maximum network download/upload speeds
    -netdelay network latency emulation
    -netfast disable network shaping
    -code-profile enable code profiling
    -show-kernel display kernel messages
    -shell enable root shell on current terminal
    -no-jni disable JNI checks in the Dalvik runtime
    -nojni same as -no-jni
    -logcat enable logcat output with given tags
    -no-audio disable audio support
    -noaudio same as -no-audio
    -audio use specific audio backend
    -radio redirect radio modem interface to character device
    -port TCP port that will be used for the console
    -ports , TCP ports used for the console and adb bridge
    -onion use overlay PNG image over screen
    -onion-alpha <%age> specify onion-skin translucency
    -onion-rotation 0|1|2|3 specify onion-skin rotation
    -dpi-device specify device’s resolution in dpi (default 165)
    -scale scale emulator window (deprecated)
    -http-proxy make TCP connections through a HTTP/HTTPS proxy
    -timezone use this timezone instead of the host’s default
    -dns-server use this DNS server(s) in the emulated system
    -cpu-delay throttle CPU emulation
    -no-boot-anim disable animation for faster boot
    -no-window disable graphical window display
    -version display emulator version number
    -report-console report console port to remote socket
    -gps redirect NMEA GPS to character device
    -shell-serial specific character device for root shell
    -tcpdump capture network packets to file
    -bootchart enable bootcharting
    -charmap use specific key character map
    -prop = set system property on boot
    -shared-net-id join the shared network, using IP address 10.1.2.
    -gpu set hardware OpenGLES emulation mode
    -camera-back set emulation mode for a camera facing back
    -camera-front set emulation mode for a camera facing front
    -webcam-list lists web cameras available for emulation
    -screen set emulated screen mode
    -force-32bit always use 32-bit emulator
    -selinux <disabled|permissive> Set SELinux to either disabled or permissive mode
    -unix-pipe Add to the list of allowed Unix pipes
    -fixed-scale Use fixed 1:1 scale for the initial emulator window.
    -wait-for-debugger Pause on launch and wait for a debugger process to attach before resuming
    -skip-adb-auth Skip adb authentication dialogue

    -qemu args… pass arguments to qemu
    -qemu -h display qemu help

    -verbose same as ‘-debug-init’
    -debug enable/disable debug messages
    -debug- enable specific debug messages
    -debug-no- disable specific debug messages

    -help print this help
    -help- print option-specific help

    -help-disk-images about disk images
    -help-debug-tags debug tags for -debug
    -help-char-devices character specification
    -help-environment environment variables
    -help-virtual-device virtual device management
    -help-sdk-images about disk images when using the SDK
    -help-build-images about disk images when building Android
    -help-all prints all help content


#6
  • stderr:
    Exec mono --version
    stdout:
    stderr: ‘mono’ n’est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

Error while executing mono --version: Command failed: mono --version
’mono’ n’est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

Exec git --version
stdout: git version 2.14.1.windows.1

stderr:
Exec gradle -v
stdout:
stderr: ‘gradle’ n’est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

Error while executing gradle -v: Command failed: gradle -v
’gradle’ n’est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

Exec “C:\Program Files\Java\jdk1.8.0_131\bin\javac” -version
stdout:
stderr: javac 1.8.0_131

System information:
{ procInfo: ‘nativescript/3.2.1’,
platform: ‘win32’,
os: ‘Windows 10 Pro 6.3.10586’,
shell: ‘C:\Windows\system32\cmd.exe’,
dotNetVer: ‘4.6.01038’,
procArch: ‘x64’,
nodeVer: ‘v6.11.3’,
npmVer: ‘3.10.10’,
javaVer: ‘1.8.0’,
nodeGypVer: null,
xcodeVer: null,
xcodeprojGemLocation: null,
itunesInstalled: false,
cocoapodVer: null,
adbVer: ‘Android Debug Bridge version 1.0.39’,
emulatorInstalled: true,
monoVer: null,
gitVer: ‘2.14.1.windows.1’,
gradleVer: null,
javacVersion: ‘1.8.0_131’ }
Starting watch on killswitch C:\Users\Fabiyo\AppData\Local\Temp\Fabiyo\KillSwitches\cli
Looking for project in 'E:\PRIVATE_PROJECT\NativeScript\learning’
Project directory is ‘E:\PRIVATE_PROJECT\NativeScript\learning’.
Installed Android Targets are: [ ‘android-19’, ‘android-23’, ‘android-24’, ‘android-25’ ]
Directories found in C:\android-sdk\build-tools are 19.1.0, 23.0.3, 25.0.2
Versions found in C:\android-sdk\build-tools are 19.1.0, 23.0.3, 25.0.2
Selected version is: 25.0.2
Selected targetSdk is: 25
Directories found in C:\android-sdk\extras\android\m2repository\com\android\support\appcompat-v7 are 18.0.0, 19.0.0, 19.0.1, 19.1.0, 20.0.0, 21.0.0, 21.0.2, 21.0.3, 22.0.0, 22.1.0, 22.1.1, 22.2.0, 22.2.1, 23.0.0, 23.0.1, 23.1.0, 23.1.1, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 24.0.0, 24.0.0-alpha1, 24.0.0-alpha2, 24.0.0-beta1, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 25.0.0, 25.0.1, 25.1.0, 25.1.1, 25.2.0, 25.3.0, 25.3.1, 26.0.0-alpha1, maven-metadata.xml, maven-metadata.xml.md5, maven-metadata.xml.sha1
Versions found in C:\android-sdk\extras\android\m2repository\com\android\support\appcompat-v7 are 18.0.0, 19.0.0, 19.0.1, 19.1.0, 20.0.0, 21.0.0, 21.0.2, 21.0.3, 22.0.0, 22.1.0, 22.1.1, 22.2.0, 22.2.1, 23.0.0, 23.0.1, 23.1.0, 23.1.1, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 24.0.0, 24.0.0, 24.0.0, 24.0.0, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 25.0.0, 25.0.1, 25.1.0, 25.1.1, 25.2.0, 25.3.0, 25.3.1, 26.0.0
Selected version is: 25.3.1
Selected AppCompat version is: 25.3.1
Validate options for platform: Android
Initializing analytics statuses.
Analytics statuses: { TrackFeatureUsage: ‘disabled’, TrackExceptions: ‘disabled’ }
Searching for devices…
startLookingForDevices; platform is Android
execFile: C:\android-sdk\platform-tools\adb "help"
spawn: C:\android-sdk\platform-tools\adb "start-server"
Result when throw error is false:
{ stdout: ‘’, stderr: ‘’, exitCode: 0 }
spawn: C:\android-sdk\platform-tools\adb "devices"
Trying to get information for Android device. Command is: getprop
spawn: C:\android-sdk\platform-tools\adb “-s” “0170401741502655” “shell” "getprop"
Result when throw error is false:
{ stdout: ‘[af.modem_1.status]: [0]\r\r\n[af.music.outputid]: [3]\r\r\n[af.rf_info]: [273]\r\r\n[af.rf_mode]: [0]\r\r\n[bgw.current3gband]: [0]\r\r\n[camera.disable_zsl_mode]: [1]\r\r\n[com.rlk.eyeverify.zoom]: [0]\r\r\n[com.rlk.eyeverify.zsd]: [off]\r\r\n[curlockscreen]: [0]\r\r\n[dalvik.vm.dex2oat-Xms]: [64m]\r\r\n[dalvik.vm.dex2oat-Xmx]: [512m]\r\r\n[dalvik.vm.heapgrowthlimit]: [128m]\r\r\n[dalvik.vm.heapsize]: [256m]\r\r\n[dalvik.vm.image-dex2oat-Xms]: [64m]\r\r\n[dalvik.vm.image-dex2oat-Xmx]: [64m]\r\r\n[dalvik.vm.isa.arm.features]: [default]\r\r\n[dalvik.vm.isa.arm.variant]: [cortex-a53]\r\r\n[dalvik.vm.isa.arm64.features]: [default]\r\r\n[dalvik.vm.isa.arm64.variant]: [cortex-a53]\r\r\n[dalvik.vm.mtk-stack-trace-file]: [/data/anr/mtk_traces.txt]\r\r\n[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]\r\r\n[debug.MB.running]: [0]\r\r\n[debug.atrace.tags.enableflags]: [0]\r\r\n[debug.force_rtl]: [0]\r\r\n[debug.hwc.bq_count]: [4]\r\r\n[debug.hwc.compose_level]: [0]\r\r\n[debug.hwui.render_dirty_regions]: [false]\r\r\n[debug.mdlogger.Running]: [0]\r\r\n[debug.mdlogger.log2sd.path]: [internal_sd]\r\r\n[debug.mtklog.netlog.Running]: [0]\r\r\n[debug.program_binary.enable]: [1]\r\r\n[debug.sf.gfps]: [0]\r\r\n[debug.sf.sfps]: [60]\r\r\n[dev.bootcomplete]: [1]\r\r\n[drm.service.enabled]: [true]\r\r\n[fmradio.driver.enable]: [1]\r\r\n[gsm.baseband.capability]: [503]\r\r\n[gsm.current.phone-type]: [1,1]\r\r\n[gsm.defaultpdpcontext.active]: [false]\r\r\n[gsm.gcf.testmode]: [0]\r\r\n[gsm.network.type]: [Unknown,HSPAP]\r\r\n[gsm.nitz.time]: [1505838085036]\r\r\n[gsm.operator.alpha]: [Orange]\r\r\n[gsm.operator.alpha.2]: [Africell]\r\r\n[gsm.operator.iso-country]: [cg,cg]\r\r\n[gsm.operator.isroaming]: [false,false]\r\r\n[gsm.operator.numeric]: [63086,63090]\r\r\n[gsm.project.baseband]: [RLK6753_65T_M0_HW(LWG_DSDS)]\r\r\n[gsm.project.baseband.2]: [RLK6753_65T_M0_HW(LWG_DSDS)]\r\r\n[gsm.ril.ct3g]: [0]\r\r\n[gsm.ril.ct3g.2]: [0]\r\r\n[gsm.ril.eboot]: [-1]\r\r\n[gsm.ril.init]: [1]\r\r\n[gsm.ril.sst.mccmnc]: [63086]\r\r\n[gsm.ril.sst.mccmnc.2]: [63090]\r\r\n[gsm.ril.uicctype]: [USIM]\r\r\n[gsm.ril.uicctype.2]: [SIM]\r\r\n[gsm.serial]: [0170401741502655 10P]\r\r\n[gsm.sim.operator.alpha]: [Orange,africell]\r\r\n[gsm.sim.operator.default-name]: [Orange,Africell]\r\r\n[gsm.sim.operator.imsi]: [630860103580854,630900130947200]\r\r\n[gsm.sim.operator.iso-country]: [cg,cg]\r\r\n[gsm.sim.operator.numeric]: [63086,63090]\r\r\n[gsm.sim.retry.pin1]: [3]\r\r\n[gsm.sim.retry.pin1.2]: [3]\r\r\n[gsm.sim.retry.pin2]: [3]\r\r\n[gsm.sim.retry.pin2.2]: [3]\r\r\n[gsm.sim.retry.puk1]: [10]\r\r\n[gsm.sim.retry.puk1.2]: [10]\r\r\n[gsm.sim.retry.puk2]: [10]\r\r\n[gsm.sim.retry.puk2.2]: [10]\r\r\n[gsm.sim.ril.mcc.mnc]: []\r\r\n[gsm.sim.ril.mcc.mnc.2]: []\r\r\n[gsm.sim.ril.phbready]: [true]\r\r\n[gsm.sim.ril.phbready.2]: [true]\r\r\n[gsm.sim.ril.testsim]: [0]\r\r\n[gsm.sim.ril.testsim.2]: [0]\r\r\n[gsm.sim.state]: [READY,READY]\r\r\n[gsm.version.baseband]: [MOLY.LR9.W1444.MD.LWTG.MP.V79.P33, 2016/11/28 16:53]\r\r\n[gsm.version.baseband1]: [MOLY.LR9.W1444.MD.LWTG.MP.V79.P33, 2016/11/28 16:53]\r\r\n[gsm.version.ril-impl]: [mtk gemini ril 1.0]\r\r\n[init.svc.DMAgent]: [running]\r\r\n[init.svc.GoogleOtaAgent]: [running]\r\r\n[init.svc.MtkCodecService]: [running]\r\r\n[init.svc.NvRAMAgent]: [running]\r\r\n[init.svc.PPLAgent]: [running]\r\r\n[init.svc.aal]: [running]\r\r\n[init.svc.adbd]: [stopping]\r\r\n[init.svc.agpsd]: [running]\r\r\n[init.svc.batterywarning]: [running]\r\r\n[init.svc.bootanim]: [stopped]\r\r\n[init.svc.bootlogoupdater]: [stopped]\r\r\n[init.svc.ccci_fsd]: [running]\r\r\n[init.svc.ccci_mdinit]: [running]\r\r\n[init.svc.conn_launcher]: [running]\r\r\n[init.svc.copyfiles]: [stopped]\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.emdlogger1]: [running]\r\r\n[init.svc.emsvr_user]: [running]\r\r\n[init.svc.enableswap]: [stopped]\r\r\n[init.svc.flash_recovery]: [stopped]\r\r\n[init.svc.fuelgauged]: [running]\r\r\n[init.svc.gas_srv]: [running]\r\r\n[init.svc.gatekeeperd]: [running]\r\r\n[init.svc.ged_srv]: [running]\r\r\n[init.svc.gsm0710muxd]: [running]\r\r\n[init.svc.guiext-server]: [running]\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.logd]: [running]\r\r\n[init.svc.logd-reinit]: [stopped]\r\r\n[init.svc.media]: [running]\r\r\n[init.svc.mnld]: [running]\r\r\n[init.svc.mobile_log_d]: [running]\r\r\n[init.svc.msensord]: [stopped]\r\r\n[init.svc.netd]: [running]\r\r\n[init.svc.netdiag]: [running]\r\r\n[init.svc.nvram_daemon]: [stopped]\r\r\n[init.svc.p2p_supplicant]: [running]\r\r\n[init.svc.pq]: [running]\r\r\n[init.svc.program_binary]: [running]\r\r\n[init.svc.ril-daemon]: [stopped]\r\r\n[init.svc.ril-daemon-mtk]: [running]\r\r\n[init.svc.servicemanager]: [running]\r\r\n[init.svc.slpd]: [running]\r\r\n[init.svc.sn]: [stopped]\r\r\n[init.svc.stp_dump]: [running]\r\r\n[init.svc.surfaceflinger]: [running]\r\r\n[init.svc.terservice]: [stopped]\r\r\n[init.svc.thermal]: [running]\r\r\n[init.svc.thermal_manager]: [stopped]\r\r\n[init.svc.thermald]: [running]\r\r\n[init.svc.ueventd]: [running]\r\r\n[init.svc.vold]: [running]\r\r\n[init.svc.vtservice]: [running]\r\r\n[init.svc.wifi2agps]: [running]\r\r\n[init.svc.wland]: [running]\r\r\n[init.svc.wmtLoader]: [stopped]\r\r\n[init.svc.xlogboot]: [stopped]\r\r\n[init.svc.xlogdebugchanged]: [stopped]\r\r\n[init.svc.zygote]: [running]\r\r\n[init.svc.zygote_secondary]: [running]\r\r\n[media.wfd.portrait]: [0]\r\r\n[media.wfd.video-format]: [5]\r\r\n[mediatek.wlan.chip]: [CONSYS_MT6735]\r\r\n[mediatek.wlan.ctia]: [0]\r\r\n[mediatek.wlan.module.postfix]: [_consys_mt6735]\r\r\n[mtk.md1.starttime]: [0s Mon Sep 18 23:18:34 2017\r\r\n]\r\r\n[mtk.md1.status]: [ready]\r\r\n[mtk.vdec.waitkeyframeforplay]: [1]\r\r\n[mtk_wifi.fwpath]: [STA]\r\r\n[net.bt.name]: [Android]\r\r\n[net.change]: [net.dns2]\r\r\n[net.dns1]: [154.73.20.237]\r\r\n[net.dns2]: [8.8.8.8]\r\r\n[net.hostname]: [android-fa8f7ee6d9300ea4]\r\r\n[net.nsiot_pending]: [false]\r\r\n[net.qtaguid_enabled]: [1]\r\r\n[net.tcp.default_init_rwnd]: [60]\r\r\n[persist.dm.lock]: [false]\r\r\n[persist.gemini.sim_num]: [2]\r\r\n[persist.logd.size]: []\r\r\n[persist.meta.dumpdata]: [0]\r\r\n[persist.mtk.wcn.combo.chipid]: [0x0321]\r\r\n[persist.radio.airplane.mode.on]: [false]\r\r\n[persist.radio.capability.iccid]: [8924390010309472009f]\r\r\n[persist.radio.cfu.change.0]: [0]\r\r\n[persist.radio.cfu.change.1]: [0]\r\r\n[persist.radio.cfu.iccid.0]: [89243841170203707181]\r\r\n[persist.radio.cfu.iccid.1]: [8924390010309472009f]\r\r\n[persist.radio.cfu.timeslot.0]: []\r\r\n[persist.radio.cfu.timeslot.1]: []\r\r\n[persist.radio.data.iccid]: [8924390010309472009f]\r\r\n[persist.radio.default.sim]: [0]\r\r\n[persist.radio.fd.counter]: [15]\r\r\n[persist.radio.fd.off.counter]: [5]\r\r\n[persist.radio.fd.off.r8.counter]: [5]\r\r\n[persist.radio.fd.r8.counter]: [15]\r\r\n[persist.radio.gemini_support]: [1]\r\r\n[persist.radio.ia]: [8924390010309472009f,IP,-1,0]\r\r\n[persist.radio.ia-apn]: [internet]\r\r\n[persist.radio.ia-pwd-flag]: [0]\r\r\n[persist.radio.mobile.data]: [0,0]\r\r\n[persist.radio.multisim.config]: [dsds]\r\r\n[persist.radio.nitz_oper_code]: [63086,63090]\r\r\n[persist.radio.nitz_oper_lname]: [Orange,Africell]\r\r\n[persist.radio.nitz_oper_sname]: [Orange,Africell]\r\r\n[persist.radio.reset_on_switch]: [true]\r\r\n[persist.radio.simswitch]: [2]\r\r\n[persist.radio.simswitch.iccid]: [8924390010309472009f]\r\r\n[persist.radio.terminal-based.cw]: [disabled_tbcw,disabled_tbcw]\r\r\n[persist.radio.unlock]: [false]\r\r\n[persist.radio.ut.cfu.mode]: [disabled_ut_cfu_mode,disabled_ut_cfu_mode]\r\r\n[persist.ril.bip.disabled]: [0]\r\r\n[persist.service.acm.enable]: [0]\r\r\n[persist.service.bdroid.bdaddr]: [22:22:ec:d1:c7:fd]\r\r\n[persist.service.stk.shutdown]: [0]\r\r\n[persist.sys.ams.recover]: [false]\r\r\n[persist.sys.bootpackage]: [2]\r\r\n[persist.sys.dalvik.vm.lib.2]: [libart.so]\r\r\n[persist.sys.first_time_boot]: [false]\r\r\n[persist.sys.locale]: [fr-FR]\r\r\n[persist.sys.mute.state]: [2]\r\r\n[persist.sys.oobe_country]: [CD]\r\r\n[persist.sys.pq.adl.idx]: [0]\r\r\n[persist.sys.pq.shp.idx]: [2]\r\r\n[persist.sys.profiler_ms]: [0]\r\r\n[persist.sys.sd.defaultpath]: [/storage/emulated/0]\r\r\n[persist.sys.timezone]: [Africa/Brazzaville]\r\r\n[persist.sys.usb.config]: [mtp,adb]\r\r\n[persist.sys.webview.vmsize]: [126533072]\r\r\n[prop.loop.count]: [3]\r\r\n[prop.sim1.imei]: [359396076253029]\r\r\n[prop.sim1.imsi]: [630860103580854]\r\r\n[prop.sim2.imei]: [359396076253037]\r\r\n[prop.sim2.imsi]: [630900130947200]\r\r\n[prop.wland.cpuid]: [1645F160F128D897E5BEFC80C1206208]\r\r\n[prop.wland.rooted]: [0]\r\r\n[qemu.hw.mainkeys]: [1]\r\r\n[ril.active.md]: [5]\r\r\n[ril.cdma.switching]: [0]\r\r\n[ril.current.share_modem]: [2]\r\r\n[ril.data.allow]: [1]\r\r\n[ril.data.mal]: [0]\r\r\n[ril.ecclist]: [112,911]\r\r\n[ril.ecclist1]: [112,911]\r\r\n[ril.external.md]: [0]\r\r\n[ril.fd.mode]: [1]\r\r\n[ril.first.md]: [1]\r\r\n[ril.flightmode.poweroffMD]: [1]\r\r\n[ril.iccid.sim1]: [89243841170203707181]\r\r\n[ril.iccid.sim2]: [8924390010309472009f]\r\r\n[ril.imsi.status.sim1]: [1]\r\r\n[ril.imsi.status.sim2]: [1]\r\r\n[ril.incall.num]: [0]\r\r\n[ril.ipo.radiooff]: [0]\r\r\n[ril.ipo.radiooff.2]: [0]\r\r\n[ril.mux.ee.md1]: [0]\r\r\n[ril.mux.report.case]: [0]\r\r\n[ril.pdn.reuse]: [1]\r\r\n[ril.pid.1]: [842]\r\r\n[ril.radiooff.poweroffMD]: [0]\r\r\n[ril.read.imsi]: [1]\r\r\n[ril.ready.sim]: [true]\r\r\n[ril.specific.sm_cause]: [0]\r\r\n[ril.telephony.mode]: [0]\r\r\n[rild.libargs]: [-d /dev/ttyC0]\r\r\n[rild.libpath]: [mtk-ril.so]\r\r\n[rild.mark_switchuser]: [0]\r\r\n[rlk.eyeverify.enable]: [1]\r\r\n[ro.adb.secure]: [1]\r\r\n[ro.allow.mock.location]: [0]\r\r\n[ro.audio.silent]: [0]\r\r\n[ro.baseband]: [unknown]\r\r\n[ro.board.platform]: [mt6735]\r\r\n[ro.boot.bootreason]: [power_key]\r\r\n[ro.boot.hardware]: [mt6735]\r\r\n[ro.boot.mode]: [normal]\r\r\n[ro.boot.name]: [android]\r\r\n[ro.boot.serialno]: [0170401741502655]\r\r\n[ro.bootimage.build.date]: [Mon Feb 6 21:31:26 CST 2017]\r\r\n[ro.bootimage.build.date.utc]: [1486387886]\r\r\n[ro.bootimage.build.fingerprint]: [TECNO/full_rlk6735_65u_m0/rlk6735_65u_m0:6.0/MRA58K/1486387015:user/release-keys]\r\r\n[ro.bootloader]: [unknown]\r\r\n[ro.bootmode]: [normal]\r\r\n[ro.build.characteristics]: [default]\r\r\n[ro.build.date]: [Mon Feb 6 21:24:12 CST 2017]\r\r\n[ro.build.date.utc]: [1486387452]\r\r\n[ro.build.description]: [TECNO-C7-user 6.0 MRA58K 1461742312 release-keys]\r\r\n[ro.build.display.id]: [C7-H355A1-M-170206V100]\r\r\n[ro.build.fingerprint]: [TECNO/TECNO-C7/TECNO-C7:6.0/MRA58K/C7-H355A1-M-170206V100:user/release-keys]\r\r\n[ro.build.flavor]: [full_rlk6735_65u_m0-user]\r\r\n[ro.build.host]: [rlk-buildsrv49]\r\r\n[ro.build.id]: [MRA58K]\r\r\n[ro.build.product]: [rlk6735_65u_m0]\r\r\n[ro.build.tags]: [release-keys]\r\r\n[ro.build.type]: [user]\r\r\n[ro.build.user]: [rlk-buildsrv49]\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]: [1486387015]\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-12-05]\r\r\n[ro.camera.sound.forced]: [0]\r\r\n[ro.carrier]: [unknown]\r\r\n[ro.com.android.mobiledata]: [true]\r\r\n[ro.com.google.clientidbase]: [android-tecno]\r\r\n[ro.com.google.clientidbase.am]: [android-tecno]\r\r\n[ro.com.google.clientidbase.gmm]: [android-tecno]\r\r\n[ro.com.google.clientidbase.ms]: [android-tecno]\r\r\n[ro.com.google.clientidbase.yt]: [android-tecno]\r\r\n[ro.com.google.gmsversion]: [6.0_r10]\r\r\n[ro.config.alarm_alert]: [Morning_Scent.ogg]\r\r\n[ro.config.notification_sound]: [Pebble.ogg]\r\r\n[ro.config.ringtone]: [Digital.ogg]\r\r\n[ro.crypto.state]: [unencrypted]\r\r\n[ro.cy_himgr_support]: [1]\r\r\n[ro.dalvik.vm.native.bridge]: [0]\r\r\n[ro.debuggable]: [0]\r\r\n[ro.expect.recovery_id]: [0x6f437767ddaaf9ba2acc11c00ee1860f4bcc904d000000000000000000000000]\r\r\n[ro.frp.pst]: [/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp]\r\r\n[ro.gemini.smart_sim_switch]: [false]\r\r\n[ro.hardware]: [mt6735]\r\r\n[ro.have_aacencode_feature]: [1]\r\r\n[ro.have_aee_feature]: [1]\r\r\n[ro.kernel.zio]: [38,108,105,16]\r\r\n[ro.lovelyfonts_support]: [1]\r\r\n[ro.mediatek.chip_ver]: [S01]\r\r\n[ro.mediatek.gemini_support]: [true]\r\r\n[ro.mediatek.platform]: [MT6735]\r\r\n[ro.mediatek.project.path]: [device/reallytek/rlk6735_65u_m0]\r\r\n[ro.mediatek.version.branch]: [alps-mp-m0.mp1]\r\r\n[ro.mediatek.version.release]: [C7-H355A1-M-170206V100]\r\r\n[ro.mediatek.version.sdk]: [4]\r\r\n[ro.mediatek.wlan.p2p]: [1]\r\r\n[ro.mediatek.wlan.wsc]: [1]\r\r\n[ro.mount.fs]: [EXT4]\r\r\n[ro.mtk_aal_support]: [1]\r\r\n[ro.mtk_afw_support]: [1]\r\r\n[ro.mtk_agps_app]: [1]\r\r\n[ro.mtk_antibricking_level]: [2]\r\r\n[ro.mtk_audenh_support]: [1]\r\r\n[ro.mtk_audio_ape_support]: [1]\r\r\n[ro.mtk_audio_profiles]: [1]\r\r\n[ro.mtk_audio_tuning_tool_ver]: [V1]\r\r\n[ro.mtk_besloudness_support]: [1]\r\r\n[ro.mtk_bessurround_support]: [1]\r\r\n[ro.mtk_bg_power_saving_support]: [1]\r\r\n[ro.mtk_bg_power_saving_ui]: [1]\r\r\n[ro.mtk_bip_scws]: [1]\r\r\n[ro.mtk_bt_support]: [1]\r\r\n[ro.mtk_cam_lomo_support]: [1]\r\r\n[ro.mtk_cam_mfb_support]: [3]\r\r\n[ro.mtk_cta_drm_support]: [1]\r\r\n[ro.mtk_cta_set]: [1]\r\r\n[ro.mtk_deinterlace_support]: [1]\r\r\n[ro.mtk_dhcpv6c_wifi]: [1]\r\r\n[ro.mtk_dialer_search_support]: [1]\r\r\n[ro.mtk_dual_mic_support]: [0]\r\r\n[ro.mtk_eap_sim_aka]: [1]\r\r\n[ro.mtk_emmc_support]: [1]\r\r\n[ro.mtk_enable_md1]: [1]\r\r\n[ro.mtk_fd_support]: [1]\r\r\n[ro.mtk_flight_mode_power_off_md]: [1]\r\r\n[ro.mtk_flv_playback_support]: [1]\r\r\n[ro.mtk_fm_recording_support]: [1]\r\r\n[ro.mtk_gemini_support]: [1]\r\r\n[ro.mtk_gps_support]: [1]\r\r\n[ro.mtk_is_tablet]: [0]\r\r\n[ro.mtk_md_sbp_custom_value]: [0]\r\r\n[ro.mtk_miravision_image_dc]: [1]\r\r\n[ro.mtk_miravision_support]: [1]\r\r\n[ro.mtk_oma_drm_support]: [1]\r\r\n[ro.mtk_omacp_support]: [1]\r\r\n[ro.mtk_perf_response_time]: [1]\r\r\n[ro.mtk_perf_simple_start_win]: [1]\r\r\n[ro.mtk_perfservice_support]: [1]\r\r\n[ro.mtk_pq_support]: [2]\r\r\n[ro.mtk_rild_read_imsi]: [1]\r\r\n[ro.mtk_safemedia_support]: [1]\r\r\n[ro.mtk_search_db_support]: [1]\r\r\n[ro.mtk_send_rr_support]: [1]\r\r\n[ro.mtk_shared_sdcard]: [1]\r\r\n[ro.mtk_slow_motion_support]: [1]\r\r\n[ro.mtk_system_update_support]: [1]\r\r\n[ro.mtk_tetheringipv6_support]: [1]\r\r\n[ro.mtk_thumbnail_play_support]: [1]\r\r\n[ro.mtk_wapi_support]: [1]\r\r\n[ro.mtk_wappush_support]: [1]\r\r\n[ro.mtk_wfd_sink_support]: [1]\r\r\n[ro.mtk_wfd_sink_uibc_support]: [1]\r\r\n[ro.mtk_wfd_support]: [1]\r\r\n[ro.mtk_widevine_drm_l3_support]: [1]\r\r\n[ro.mtk_wifi_mcc_support]: [1]\r\r\n[ro.mtk_wlan_support]: [1]\r\r\n[ro.mtk_wmv_playback_support]: [1]\r\r\n[ro.mtk_world_phone_policy]: [0]\r\r\n[ro.mtk_zsdhdr_support]: [1]\r\r\n[ro.opengles.version]: [196608]\r\r\n[ro.product.board]: []\r\r\n[ro.product.brand]: [TECNO]\r\r\n[ro.product.cpu.abi]: [arm64-v8a]\r\r\n[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]\r\r\n[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]\r\r\n[ro.product.cpu.abilist64]: [arm64-v8a]\r\r\n[ro.product.device]: [TECNO-C7]\r\r\n[ro.product.locale]: [en-US]\r\r\n[ro.product.manufacturer]: [TECNO]\r\r\n[ro.product.model]: [TECNO-C7]\r\r\n[ro.product.name]: [TECNO-C7]\r\r\n[ro.recovery_id]: [0x6f437767ddaaf9ba2acc11c00ee1860f4bcc904d000000000000000000000000]\r\r\n[ro.revision]: [0]\r\r\n[ro.ril.ecclist]: [112,911]\r\r\n[ro.rlk.fingerprint]: [TECNO/full_rlk6735_65u_m0/rlk6735_65u_m0:6.0/MRA58K/1486387015:user/release-keys]\r\r\n[ro.rlk.projectname]: [TECNO-C7]\r\r\n[ro.rlk.versionnumber]: [C7-H355A1-M-170206V100]\r\r\n[ro.rlk_burstpmk_support]: [1]\r\r\n[ro.rlk_cam_font_night_support]: [1]\r\r\n[ro.rlk_camera_beauty_version]: [1]\r\r\n[ro.rlk_camera_flash_lowbattery]: [1]\r\r\n[ro.rlk_camera_font_mode_support]: [1]\r\r\n[ro.rlk_front_flash_show_support]: [1]\r\r\n[ro.rlk_launcher_camerapage2]: [1]\r\r\n[ro.rlk_mirror_support]: [1]\r\r\n[ro.rlk_mirror_support_da]: [1]\r\r\n[ro.rlk_multi_gsensor_support]: [1]\r\r\n[ro.rlk_multi_touch_support]: [1]\r\r\n[ro.rlk_nightmode_support]: [1]\r\r\n[ro.rlk_quickcapture_support]: [1]\r\r\n[ro.rlk_shuttersound_support]: [1]\r\r\n[ro.rlk_support_online_theme]: [1]\r\r\n[ro.rlk_sync_heartbeat_support]: [1]\r\r\n[ro.rlk_watermode_support]: [1]\r\r\n[ro.rlk_wideselfie_support]: [1]\r\r\n[ro.runtime.firstboot]: [1505773172826]\r\r\n[ro.secure]: [1]\r\r\n[ro.serialno]: [0170401741502655]\r\r\n[ro.setupwizard.mode]: [OPTIONAL]\r\r\n[ro.sf.hwrotation]: [0]\r\r\n[ro.sf.lcd_density]: [320]\r\r\n[ro.sim_me_lock_mode]: [0]\r\r\n[ro.sim_refresh_reset_by_modem]: [1]\r\r\n[ro.sys.usb.bicr]: [no]\r\r\n[ro.sys.usb.charging.only]: [yes]\r\r\n[ro.sys.usb.mtp.whql.enable]: [0]\r\r\n[ro.sys.usb.storage.type]: [mtp]\r\r\n[ro.tecno.micro_smart]: [1]\r\r\n[ro.tecno.os.version]: [HiOS_Camon_0.8.4]\r\r\n[ro.telephony.sim.count]: [2]\r\r\n[ro.wifi.channels]: []\r\r\n[ro.wlan.mtk.wifi.5g]: [1]\r\r\n[ro.wland.oem]: [rlk]\r\r\n[ro.wland.platform]: [MTK]\r\r\n[ro.wland.version]: [C7-H355A1-M-170206V100]\r\r\n[ro.zygote]: [zygote64_32]\r\r\n[ro.zygote.preload.enable]: [0]\r\r\n[selinux.reload_policy]: [1]\r\r\n[service.bootanim.exit]: [1]\r\r\n[service.cat.install.on]: [0]\r\r\n[service.cat.install.on.2]: [0]\r\r\n[service.cat.install.on.3]: [0]\r\r\n[service.cat.install.on.4]: [0]\r\r\n[service.nvram_init]: [Ready]\r\r\n[service.wcn.coredump.mode]: [0]\r\r\n[service.wcn.driver.ready]: [yes]\r\r\n[sys.boot.reason]: [0]\r\r\n[sys.boot_completed]: [1]\r\r\n[sys.ipo.pwrdncap]: [2]\r\r\n[sys.ipowin.done]: [1]\r\r\n[sys.oem_unlock_allowed]: [0]\r\r\n[sys.power_off_alarm]: [1505879700]\r\r\n[sys.settings_global_version]: [16]\r\r\n[sys.settings_secure_version]: [256]\r\r\n[sys.settings_system_version]: [86]\r\r\n[sys.sysctl.extra_free_kbytes]: [10800]\r\r\n[sys.sysctl.tcp_def_init_rwnd]: [60]\r\r\n[sys.usb.config]: [mtp,adb]\r\r\n[sys.usb.ffs.ready]: [1]\r\r\n[sys.usb.state]: [mtp,adb]\r\r\n[sys.usb.vid]: [0E8D]\r\r\n[vold.has_adoptable]: [1]\r\r\n[vold.path.internal_storage]: [/storage/emulated/0]\r\r\n[vold.post_fs_data_done]: [1]\r\r\n[vold.support_external_sd]: [1]\r\r\n[wfd.dummy.enable]: [1]\r\r\n[wifi.direct.interface]: [p2p0]\r\r\n[wifi.interface]: [wlan0]\r\r\n[wifi.tethering.interface]: [ap0]\r\r\n[wlan.daemon.lapse]: [97440]\r\r\n[wlan.daemon.reset]: [0]\r\r\n[wlan.daemon.status]: [8]\r\r\n[wlan.daemon.switch]: [1]\r\r\n[wlan.daemon.version]: [3.3.5]\r\r\n[wlan.driver.status]: [ok]\r\r\n[wlan.wfd.security.image]: [1]\r\r\n’,
stderr: ‘’,
exitCode: 0 }
{ characteristics: ‘default’,
date: ‘Mon Feb 6 21:24:12 CST 2017’,
‘date.utc’: ‘1486387452’,
description: ‘TECNO-C7-user 6.0 MRA58K 1461742312 release-keys’,
display.id’: ‘C7-H355A1-M-170206V100’,
fingerprint: ‘TECNO/TECNO-C7/TECNO-C7:6.0/MRA58K/C7-H355A1-M-170206V100:user/release-keys’,
flavor: ‘full_rlk6735_65u_m0-user’,
host: ‘rlk-buildsrv49’,
id: ‘MRA58K’,
product: ‘rlk6735_65u_m0’,
tags: ‘release-keys’,
type: ‘user’,
user: ‘rlk-buildsrv49’,
all_codenames: ‘REL’,
base_os: ‘’,
codename: ‘REL’,
incremental: ‘1486387015’,
preview_sdk: ‘0’,
release: ‘6.0’,
sdk: ‘23’,
security_patch: ‘2016-12-05’,
board: ‘’,
brand: ‘TECNO’,
‘cpu.abi’: ‘arm64-v8a’,
‘cpu.abilist’: ‘arm64-v8a,armeabi-v7a,armeabi’,
‘cpu.abilist32’: ‘armeabi-v7a,armeabi’,
‘cpu.abilist64’: ‘arm64-v8a’,
device: ‘TECNO-C7’,
locale: ‘en-US’,
manufacturer: ‘TECNO’,
model: ‘TECNO-C7’,
name: ‘TECNO-C7’ }
{ characteristics: ‘default’,
date: ‘Mon Feb 6 21:24:12 CST 2017’,
‘date.utc’: ‘1486387452’,
description: ‘TECNO-C7-user 6.0 MRA58K 1461742312 release-keys’,
display.id’: ‘C7-H355A1-M-170206V100’,
fingerprint: ‘TECNO/TECNO-C7/TECNO-C7:6.0/MRA58K/C7-H355A1-M-170206V100:user/release-keys’,
flavor: ‘full_rlk6735_65u_m0-user’,
host: ‘rlk-buildsrv49’,
id: ‘MRA58K’,
product: ‘rlk6735_65u_m0’,
tags: ‘release-keys’,
type: ‘user’,
user: ‘rlk-buildsrv49’,
all_codenames: ‘REL’,
base_os: ‘’,
codename: ‘REL’,
incremental: ‘1486387015’,
preview_sdk: ‘0’,
release: ‘6.0’,
sdk: ‘23’,
security_patch: ‘2016-12-05’,
board: ‘’,
brand: ‘TECNO’,
‘cpu.abi’: ‘arm64-v8a’,
‘cpu.abilist’: ‘arm64-v8a,armeabi-v7a,armeabi’,
‘cpu.abilist32’: ‘armeabi-v7a,armeabi’,
‘cpu.abilist64’: ‘arm64-v8a’,
device: ‘TECNO-C7’,
locale: ‘en-US’,
manufacturer: ‘TECNO’,
model: ‘TECNO-C7’,
name: ‘TECNO-C7’ }
execFile: C:\android-sdk\platform-tools\adb "devices"
execFile: C:\android-sdk\platform-tools\adb “-s” “0170401741502655” “shell” “getprop” "ro.product.manufacturer"
execFile: C:\android-sdk\platform-tools\adb “-s” “0170401741502655” “shell” “getprop” “ro.build.product”
{ identifier: ‘0170401741502655’,
displayName: ‘TECNO-C7’,
model: ‘TECNO-C7’,
version: ‘6.0’,
vendor: ‘TECNO’,
platform: ‘Android’,
status: ‘Connected’,
errorHelp: null,
isTablet: false,
type: ‘Device’ }
Found device with identifier '0170401741502655’
startLookingForDevices; platform is Android
spawn: C:\android-sdk\platform-tools\adb "devices"
spawn: C:\android-sdk\platform-tools\adb "devices"
Project dir from hooksArgs is: E:\PRIVATE_PROJECT\NativeScript\learning.
Hooks directories: [ ‘C:\Users\Fabiyo\AppData\Roaming\npm\node_modules\nativescript\lib\hooks’,
‘C:\Users\Fabiyo\AppData\Roaming\npm\node_modules\nativescript\lib\common\hooks’,
‘E:\PRIVATE_PROJECT\NativeScript\learning\hooks’ ]
BeforeHookName for command liveSync is before-liveSync
Executing before-liveSync hook from E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-liveSync\nativescript-angular-sync.js
Executing before-liveSync hook at location E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-liveSync\nativescript-angular-sync.js in-process
Validating before-liveSync arguments.
Executing before-liveSync hook at location E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-liveSync\nativescript-angular-sync.js with environment { cwd: ‘E:\PRIVATE_PROJECT\NativeScript\learning’,
stdio: ‘inherit’,
env:
{ ALLUSERSPROFILE: ‘C:\ProgramData’,
ANDROID_HOME: ‘C:\android-sdk’,
APPDATA: ‘C:\Users\Fabiyo\AppData\Roaming’,
CommonProgramFiles: ‘C:\Program Files\Common Files’,
‘CommonProgramFiles(x86)’: ‘C:\Program Files (x86)\Common Files’,
CommonProgramW6432: ‘C:\Program Files\Common Files’,
COMPUTERNAME: ‘DESKTOP-V12O3Q9’,
ComSpec: ‘C:\Windows\system32\cmd.exe’,
easyplussdk: ‘“C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin”’,
HOMEDRIVE: ‘C:’,
HOMEPATH: ‘\Users\Fabiyo’,
JAVA_HOME: ‘C:\Program Files\Java\jdk1.8.0_131’,
LOCALAPPDATA: ‘C:\Users\Fabiyo\AppData\Local’,
LOGONSERVER: ‘\\DESKTOP-V12O3Q9’,
MOZ_PLUGIN_PATH: ‘C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\’,
NUMBER_OF_PROCESSORS: ‘4’,
OneDrive: ‘C:\Users\Fabiyo\OneDrive’,
OS: ‘Windows_NT’,
Path: ‘C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\android-sdk\platform-tools;C:\Program Files\Git\cmd;C:\xampp\php;C:\Program Files\nodejs\;C:\Program Files\Microsoft VS Code\bin;C:\Users\Fabiyo\AppData\Roaming\npm’,
PATHEXT: ‘.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC;.PHP’,
PHP: ‘C:\xampp\php’,
PROCESSOR_ARCHITECTURE: ‘AMD64’,
PROCESSOR_IDENTIFIER: ‘Intel64 Family 6 Model 37 Stepping 5, GenuineIntel’,
PROCESSOR_LEVEL: ‘6’,
PROCESSOR_REVISION: ‘2505’,
ProgramData: ‘C:\ProgramData’,
ProgramFiles: ‘C:\Program Files’,
‘ProgramFiles(x86)’: ‘C:\Program Files (x86)’,
ProgramW6432: ‘C:\Program Files’,
PROMPT: ‘$P$G’,
PSModulePath: ‘C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules’,
PUBLIC: ‘C:\Users\Public’,
SystemDrive: ‘C:’,
SystemRoot: ‘C:\Windows’,
TEMP: ‘C:\Users\Fabiyo\AppData\Local\Temp’,
TMP: ‘C:\Users\Fabiyo\AppData\Local\Temp’,
USERDOMAIN: ‘DESKTOP-V12O3Q9’,
USERDOMAIN_ROAMINGPROFILE: ‘DESKTOP-V12O3Q9’,
USERNAME: ‘Fabiyo’,
USERPROFILE: ‘C:\Users\Fabiyo’,
windir: ‘C:\Windows’,
‘TNS-COMMANDLINE’: ‘C:\Program Files\nodejs\node.exe C:\Users\Fabiyo\AppData\Roaming\npm\node_modules\nativescript\bin\tns run android --log trace’,
‘TNS-HOOK_FULL_PATH’: ‘E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-liveSync\nativescript-angular-sync.js’,
‘TNS-VERSION’: ‘3.2.1’ } }
spawn: C:\Program Files\nodejs\node.exe "E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-liveSync\nativescript-angular-sync.js"
Result when throw error is false:
{ stdout: ‘’, stderr: ‘’, exitCode: 0 }
Changes info in prepare platform: ProjectChangesInfo {
appFilesChanged: true,
packageChanged: false,
appResourcesChanged: false,
nativeChanged: false,
configChanged: false,
nativePlatformStatus: ‘3’ }
Project dir from hooksArgs is: E:\PRIVATE_PROJECT\NativeScript\learning.
Hooks directories: [ ‘C:\Users\Fabiyo\AppData\Roaming\npm\node_modules\nativescript\lib\hooks’,
‘C:\Users\Fabiyo\AppData\Roaming\npm\node_modules\nativescript\lib\common\hooks’,
‘E:\PRIVATE_PROJECT\NativeScript\learning\hooks’ ]
BeforeHookName for command prepare is before-prepare
Executing before-prepare hook from E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-prepare\nativescript-dev-typescript.js
Executing before-prepare hook at location E:\PRIVATE_PROJECT\NativeScript\learning\hooks\before-prepare\nativescript-dev-typescript.js in-process
Validating before-prepare arguments.
Found peer TypeScript 2.5.2
C:\Program Files\nodejs\node.exe --max_old_space_size=4096 E:\PRIVATE_PROJECT\NativeScript\learning\node_modules\typescript\lib\tsc.js --project E:\PRIVATE_PROJECT\NativeScript\learning --inlineSourceMap --inlineSources
Hook promises to signal completion
Error: getaddrinfo ENOENT localhost:50134
at Object.exports._errnoException (util.js:1020:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

E:\PRIVATE_PROJECT\NativeScript\learning>


#7

Here is the response I got from the engineering:

I’ve investigated the case you’ve sent and the ENOENT error when there’s no internet connection. In fact the problem is a behavior of Node.js on Windows when a request to localhost is sent. In several occasions different parts of our code (or some of the executables we are calling) try sending requests to localhost. On Windows, when you do not have a network adapter (enabled one), Node.js is unable to resolve the name localhost and an error is raised. I’ve found one place where we are making such request and I’ll fix it, but I cannot guarantee this will not happen with other tools we are using. However, there’s a pretty easy workaround - you just have to add a network adapter, there’s no need of an actual internet connection. For example I have a VirtualBox adapter installed and even when I disable my internet connection, I’m still able to use CLI as there’s network adapter and Node.js is able to resolve the localhost name.

We are going to try to fix it for the next release, however in the mean time you can create a VirtualBox adapter as a workaround.


#8

The android build needs to download the gradle wrapper once, and then is cached on the local file system, as well as any other plugins that may be referenced in any of the nativescript plugins that are included in your project.

If you don’t want to download anything at all, you could download the gradle.zip yourself, add the android platform tns platform add android --framework-path <local path to tns-android>, and then open and edit platforms/android/gradle/wrapper/gradle-wrapper.properties to something like this:

#Wed Jan 11 14:44:42 EET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=<path to local 3.3 gradle zip>

This will force the wrapper to use your local copy instead of looking remotely.

cc @sebawita @Fabiyo


#9

Even after the 8th time, every times I use tns run android, without internet it doesn’t work


#10

I am not sure if I was clear enough in my previous response, but you need internet connection to either

A) download the gradle 3.3 zip, and provide it each time you add the android platform

B) allow the gradle wrapper to download its zip and cache it on the file system, then disable internet connection, as it will no longer be required so long as you don’t try to download any android plugins from jcenter or bintray.

The above is valid for the native build, according to the log you’ve provided it does not seem to get to that point however :-/, which is where what Sebastian posted might be useful.


#11

Hey @Pete.K,

The issue is that @Fabiyo has a project that works when building it online. Then when he goes offline, the same project doesn’t build anymore.

As I mentioned above with the response from Rosen. This is caused by Windows not handling localhost too well when working offline.

The CLI team will try to fix this issue.

The workaround for now is to create a new network adapter like VirtualBox adapter. This will help resolve localhost on Windows

@Fabiyo Can you try out the suggested workaround and let us know if that worked for you?