Nativescript Angular - Could not find support-v4.jar -


i running sample groceries example of nativescript angular , typescript. followed steps http://docs.nativescript.org/angular/tutorial/ng-chapter-1#11-install-nativescript-and-configure-your-environment

i getting error.

failure: build failed exception.

* went wrong:

a problem occurred configuring root project 'groceries'.

could not find support-v4.jar (com.android.support:support-v4:24.1.1).

searched in following locations: https://jcenter.bintray.com/com/android/support/support-v4/24.1.1/support-v4-24.1.1.jar

here output of $tns run android --justlaunch --log trace

execfile: /home/charan/android/sdk/platform-tools/adb "help" execfile: /home/charan/android/sdk/platform-tools/adb "help" spawn: /home/charan/android/sdk/platform-tools/adb "--help" socket {   _connecting: false,   _haderror: false,   _handle:     pipe {      _externalstream: {},      fd: 13,      writequeuesize: 0,      owner: [circular],      onread: [function: onread],      reading: true },   _parent: null,   _host: null,   _readablestate:     readablestate {      objectmode: false,      highwatermark: 16384,      buffer: [],      length: 0,      pipes: null,      pipescount: 0,      flowing: null,      ended: false,      endemitted: false,      reading: true,      sync: false,      needreadable: true,      emittedreadable: false,      readablelistening: false,      defaultencoding: 'utf8',      ranout: false,      awaitdrain: 0,      readingmore: false,      decoder: null,      encoding: null },   readable: true,   domain: null,   _events:     { end: { [function: g] listener: [function: onend] },      finish: [function: onsocketfinish],      _socketend: [function: onsocketend],      close: [function] },   _eventscount: 4,   _maxlisteners: undefined,   _writablestate:     writablestate {      objectmode: false,      highwatermark: 16384,      needdrain: false,      ending: false,      ended: false,      finished: false,      decodestrings: false,      defaultencoding: 'utf8',      length: 0,      writing: false,      corked: 0,      sync: true,      bufferprocessing: false,      onwrite: [function],      writecb: null,      writelen: 0,      bufferedrequest: null,      lastbufferedrequest: null,      pendingcb: 0,      prefinished: false,      erroremitted: false },   writable: false,   allowhalfopen: false,   destroyed: false,   bytesread: 0,   _bytesdispatched: 0,   _sockname: null,   _writev: null,   _pendingdata: null,   _pendingencoding: '' } exec uname -a   stdout: linux 41-s02 4.4.0-36-generic #55-ubuntu smp thu aug 11 18:01:55 utc 2016 x86_64 x86_64 x86_64 gnu/linux   stderr:  exec npm -v   stdout: 3.5.2   stderr:  spawn: java "-version" exec node-gyp -v   stdout: v3.0.3   stderr:  exec '/home/charan/android/sdk/platform-tools/adb' version   stdout: android debug bridge version 1.0.36 revision af05c7354fe1-android   stderr:  spawn: /home/charan/android/sdk/tools/android "-h" result when throw error false: { stdout: '\n       usage:\n       android [global options] action [action options]\n       global options:\n  -s --silent     : silent mode, shows errors only.\n  -v --verbose    : verbose mode, shows errors, warnings , messages.\n     --clear-cache: clear sdk manager repository manifest cache.\n  -h --help       : on specific command.\n\n                                                                    valid\n                                                                    actions\n                                                                    are\n                                                                    composed\n                                                                    of verb\n                                                                    , an\n                                                                    optional\n                                                                    direct\n                                                                    object:\n-    sdk              : displays sdk manager window.\n-    avd              : displays avd manager window.\n-   list              : lists existing targets or virtual devices.\n-   list avd          : lists existing android virtual devices.\n-   list target       : lists existing targets.\n-   list device       : lists existing devices.\n-   list sdk          : lists remote sdk repository.\n- create avd          : creates new android virtual device.\n-   move avd          : moves or renames android virtual device.\n- delete avd          : deletes android virtual device.\n- update avd          : updates android virtual device match folders\n                        of new sdk.\n- create project      : creates new android project.\n- update project      : updates android project (must have an\n                        androidmanifest.xml).\n- create test-project : creates new android project test package.\n- update test-project : updates android project test package (must\n                        have androidmanifest.xml).\n- create lib-project  : creates new android library project.\n- update lib-project  : updates android library project (must have\n                        androidmanifest.xml).\n- create uitest-project: creates new ui test project.\n- update adb          : updates adb support usb devices declared in the\n                        sdk add-ons.\n- update sdk          : updates sdk suggesting new platforms install\n                        if available.\n',   stderr: '',   exitcode: 1 } exec mono --version   stdout:    stderr: /bin/sh: 1: mono: not found  exec git --version   stdout: git version 2.7.4   stderr:  exec gradle -v   stdout:    stderr: /bin/sh: 1: gradle: not found  exec "javac" -version   stdout:    stderr: javac 1.8.0_91  system information: { procinfo: 'nativescript/2.3.0',   platform: 'linux',   os: 'linux 41-s02 4.4.0-36-generic #55-ubuntu smp thu aug 11 18:01:55 utc 2016 x86_64 x86_64 x86_64 gnu/linux\n',   shell: '/bin/bash',   dotnetver: null,   procarch: 'x64',   nodever: 'v4.2.6',   npmver: '3.5.2',   javaver: '1.8.0',   nodegypver: 'v3.0.3\n',   xcodever: null,   xcodeprojgemlocation: null,   itunesinstalled: false,   cocoapodver: null,   adbver: 'android debug bridge version 1.0.36',   androidinstalled: true,   monover: null,   gitver: '2.7.4',   gradlever: null,   javacversion: '1.8.0_91' } initializing analytics statuses. analytics statuses:  { trackfeatureusage: 0, trackexceptions: 0 } trying track feature 'non-interactive' value 'run'. analyticsinstallationid: a0b367e3-2032-4617-b4f4-4497da9fac9d monitor not started monitor not started monitor not started monitor has started, connecting http://5752dabccfc54c4ab82aea9626b7338e.monitor-eqatec.com/json.ashx analytics statuses:  { trackfeatureusage: 0, trackexceptions: 0 } trying track feature 'nodejsversion' value '4_2_6'. waiting analytics send information. check in 1000ms. statistics sent (xhr). waiting analytics send information. check in 1000ms. remaining time is: 29000 statistics sent (xhr). waiting analytics send information. check in 1000ms. waiting analytics send information. check in 1000ms. remaining time is: 28000 statistics sent (xhr). waiting analytics send information. check in 1000ms. remaining time is: 29000 looking project in '/var/www/ns/groceries_ts/sample-groceries/platforms/android' looking project in '/var/www/ns/groceries_ts/sample-groceries/platforms' looking project in '/var/www/ns/groceries_ts/sample-groceries' project directory '/var/www/ns/groceries_ts/sample-groceries'. analytics statuses:  { trackfeatureusage: 0, trackexceptions: 0 } trying track feature 'non-interactive' value 'run|android'. waiting analytics send information. check in 1000ms. statistics sent (xhr). waiting analytics send information. check in 1000ms. remaining time is: 29000 startlookingfordevices; platform android spawn: /home/charan/android/sdk/platform-tools/adb "start-server" result when throw error false: { stdout: '', stderr: '', exitcode: 0 } spawn: /home/charan/android/sdk/platform-tools/adb "devices" spawn: /home/charan/android/sdk/platform-tools/adb "-s" "emulator-5554" "shell" "getprop" result when throw error false: { stdout: '[dalvik.vm.dex2oat-xms]: [64m]\r\n[dalvik.vm.dex2oat-xmx]: [512m]\r\n[dalvik.vm.heapsize]: [384m]\r\n[dalvik.vm.image-dex2oat-xms]: [64m]\r\n[dalvik.vm.image-dex2oat-xmx]: [64m]\r\n[dalvik.vm.isa.x86.features]: [default]\r\n[dalvik.vm.isa.x86_64.features]: [default]\r\n[dalvik.vm.lockprof.threshold]: [500]\r\n[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]\r\n[debug.force_rtl]: [0]\r\n[dev.bootcomplete]: [1]\r\n[gsm.current.phone-type]: [1]\r\n[gsm.defaultpdpcontext.active]: [true]\r\n[gsm.network.type]: [umts]\r\n[gsm.nitz.time]: [1474530944793]\r\n[gsm.operator.alpha]: [android]\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]: [android]\r\n[gsm.sim.operator.iso-country]: [us]\r\n[gsm.sim.operator.numeric]: [310260]\r\n[gsm.sim.state]: [ready]\r\n[gsm.version.ril-impl]: [android reference-ril 1.0]\r\n[init.svc.adbd]: [running]\r\n[init.svc.bootanim]: [stopped]\r\n[init.svc.console]: [running]\r\n[init.svc.debuggerd64]: [running]\r\n[init.svc.debuggerd]: [running]\r\n[init.svc.drm]: [running]\r\n[init.svc.fuse_sdcard]: [running]\r\n[init.svc.goldfish-logcat]: [stopped]\r\n[init.svc.goldfish-setup]: [stopped]\r\n[init.svc.healthd]: [running]\r\n[init.svc.installd]: [running]\r\n[init.svc.keystore]: [running]\r\n[init.svc.lmkd]: [running]\r\n[init.svc.logd]: [running]\r\n[init.svc.media]: [running]\r\n[init.svc.netd]: [running]\r\n[init.svc.qemu-props]: [stopped]\r\n[init.svc.ril-daemon]: [running]\r\n[init.svc.servicemanager]: [running]\r\n[init.svc.surfaceflinger]: [running]\r\n[init.svc.ueventd]: [running]\r\n[init.svc.vold]: [running]\r\n[init.svc.zygote]: [running]\r\n[init.svc.zygote_secondary]: [running]\r\n[net.bt.name]: [android]\r\n[net.change]: [net.dns1]\r\n[net.dns1]: [10.0.2.3]\r\n[net.eth0.dns1]: [10.0.2.3]\r\n[net.eth0.gw]: [10.0.2.2]\r\n[net.gprs.local-ip]: [10.0.2.15]\r\n[net.hostname]: [android-995f9ae46c30a1a4]\r\n[net.qtaguid_enabled]: [0]\r\n[net.tcp.default_init_rwnd]: [60]\r\n[persist.sys.dalvik.vm.lib.2]: [libart.so]\r\n[persist.sys.profiler_ms]: [0]\r\n[persist.sys.timezone]: [asia/kolkata]\r\n[persist.sys.usb.config]: [adb]\r\n[qemu.gles]: [1]\r\n[qemu.hw.mainkeys]: [0]\r\n[qemu.sf.fake_camera]: [none]\r\n[qemu.sf.lcd_density]: [560]\r\n[rild.libargs]: [-d /dev/ttys0]\r\n[rild.libpath]: [/system/lib/libreference-ril.so]\r\n[ro.allow.mock.location]: [0]\r\n[ro.baseband]: [unknown]\r\n[ro.board.platform]: []\r\n[ro.boot.hardware]: [ranchu]\r\n[ro.bootloader]: [unknown]\r\n[ro.bootmode]: [unknown]\r\n[ro.build.characteristics]: [default]\r\n[ro.build.date.utc]: [1469055163]\r\n[ro.build.date]: [wed jul 20 22:52:43 utc 2016]\r\n[ro.build.description]: [sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys]\r\n[ro.build.display.id]: [sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys]\r\n[ro.build.fingerprint]: [android/sdk_google_phone_x86_64/generic_x86_64:5.1.1/lmy48x/3079158:userdebug/test-keys]\r\n[ro.build.flavor]: [sdk_google_phone_x86_64-userdebug]\r\n[ro.build.host]: [wpdu8.hot.corp.google.com]\r\n[ro.build.id]: [lmy48x]\r\n[ro.build.product]: [generic_x86_64]\r\n[ro.build.tags]: [test-keys]\r\n[ro.build.type]: [userdebug]\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]: [3079158]\r\n[ro.build.version.release]: [5.1.1]\r\n[ro.build.version.sdk]: [22]\r\n[ro.build.version.security_patch]: [2015-11-01]\r\n[ro.com.google.locationfeatures]: [1]\r\n[ro.config.alarm_alert]: [alarm_classic.ogg]\r\n[ro.config.nocheckin]: [yes]\r\n[ro.config.notification_sound]: [onthehunt.ogg]\r\n[ro.crypto.state]: [unencrypted]\r\n[ro.dalvik.vm.native.bridge]: [0]\r\n[ro.debuggable]: [1]\r\n[ro.factorytest]: [0]\r\n[ro.hardware.audio.primary]: [goldfish]\r\n[ro.hardware]: [ranchu]\r\n[ro.kernel.android.checkjni]: [1]\r\n[ro.kernel.android.qemud]: [1]\r\n[ro.kernel.androidboot.hardware]: [ranchu]\r\n[ro.kernel.clocksource]: [pit]\r\n[ro.kernel.qemu.gles]: [1]\r\n[ro.kernel.qemu]: [1]\r\n[ro.opengles.version]: [131072]\r\n[ro.product.board]: []\r\n[ro.product.brand]: [android]\r\n[ro.product.cpu.abi]: [x86_64]\r\n[ro.product.cpu.abilist32]: [x86]\r\n[ro.product.cpu.abilist64]: [x86_64]\r\n[ro.product.cpu.abilist]: [x86_64,x86]\r\n[ro.product.device]: [generic_x86_64]\r\n[ro.product.locale.language]: [en]\r\n[ro.product.locale.region]: [us]\r\n[ro.product.manufacturer]: [unknown]\r\n[ro.product.model]: [android sdk built x86_64]\r\n[ro.product.name]: [sdk_google_phone_x86_64]\r\n[ro.radio.use-ppp]: [no]\r\n[ro.revision]: [0]\r\n[ro.runtime.firstboot]: [1474530952328]\r\n[ro.secure]: [1]\r\n[ro.serialno]: []\r\n[ro.wifi.channels]: []\r\n[ro.zygote]: [zygote64_32]\r\n[selinux.reload_policy]: [1]\r\n[service.bootanim.exit]: [1]\r\n[status.battery.level]: [5]\r\n[status.battery.level_raw]: [50]\r\n[status.battery.level_scale]: [9]\r\n[status.battery.state]: [slow]\r\n[sys.boot_completed]: [1]\r\n[sys.settings_secure_version]: [2]\r\n[sys.sysctl.extra_free_kbytes]: [43200]\r\n[sys.sysctl.tcp_def_init_rwnd]: [60]\r\n[sys.usb.config]: [adb]\r\n[sys.usb.state]: [adb]\r\n[wlan.driver.status]: [unloaded]\r\n[xmpp.auto-presence]: [true]\r\n',   stderr: '',   exitcode: 0 } { characteristics: 'default',   'date.utc': '1469055163',   date: 'wed jul 20 22:52:43 utc 2016',   description: 'sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys',   'display.id': 'sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys',   fingerprint: 'android/sdk_google_phone_x86_64/generic_x86_64:5.1.1/lmy48x/3079158:userdebug/test-keys',   flavor: 'sdk_google_phone_x86_64-userdebug',   host: 'wpdu8.hot.corp.google.com',   id: 'lmy48x',   product: 'generic_x86_64',   tags: 'test-keys',   type: 'userdebug',   user: 'android-build',   all_codenames: 'rel',   base_os: '',   codename: 'rel',   incremental: '3079158',   release: '5.1.1',   sdk: '22',   security_patch: '2015-11-01',   board: '',   brand: 'android',   'cpu.abi': 'x86_64',   'cpu.abilist32': 'x86',   'cpu.abilist64': 'x86_64',   'cpu.abilist': 'x86_64,x86',   device: 'generic_x86_64',   'locale.language': 'en',   'locale.region': 'us',   manufacturer: 'unknown',   model: 'android sdk built x86_64',   name: 'sdk_google_phone_x86_64' } { characteristics: 'default',   'date.utc': '1469055163',   date: 'wed jul 20 22:52:43 utc 2016',   description: 'sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys',   'display.id': 'sdk_google_phone_x86_64-userdebug 5.1.1 lmy48x 3079158 test-keys',   fingerprint: 'android/sdk_google_phone_x86_64/generic_x86_64:5.1.1/lmy48x/3079158:userdebug/test-keys',   flavor: 'sdk_google_phone_x86_64-userdebug',   host: 'wpdu8.hot.corp.google.com',   id: 'lmy48x',   product: 'generic_x86_64',   tags: 'test-keys',   type: 'userdebug',   user: 'android-build',   all_codenames: 'rel',   base_os: '',   codename: 'rel',   incremental: '3079158',   release: '5.1.1',   sdk: '22',   security_patch: '2015-11-01',   board: '',   brand: 'android',   'cpu.abi': 'x86_64',   'cpu.abilist32': 'x86',   'cpu.abilist64': 'x86_64',   'cpu.abilist': 'x86_64,x86',   device: 'generic_x86_64',   'locale.language': 'en',   'locale.region': 'us',   manufacturer: 'unknown',   model: 'android sdk built x86_64',   name: 'sdk_google_phone_x86_64' } execfile: /home/charan/android/sdk/platform-tools/adb "devices" { identifier: 'emulator-5554',   displayname: 'sdk_google_phone_x86_64',   model: 'android sdk built x86_64',   version: '5.1.1',   vendor: 'android',   platform: 'android',   status: 'connected',   errorhelp: null,   istablet: false,   type: 'emulator' } found device identifier 'emulator-5554' hooks directories: [ '/usr/local/lib/node_modules/nativescript/lib/hooks',   '/usr/local/lib/node_modules/nativescript/lib/common/hooks',   '/var/www/ns/groceries_ts/sample-groceries/hooks' ] beforehookname command prepare before-prepare executing before-prepare hook /var/www/ns/groceries_ts/sample-groceries/hooks/before-prepare/nativescript-dev-typescript.js executing before-prepare hook @ location /var/www/ns/groceries_ts/sample-groceries/hooks/before-prepare/nativescript-dev-typescript.js in-process found peer typescript 1.8.10 hook promises signal completion hook completed existing androidmanifest.xml correct. existing androidmanifest.xml correct. spawn: /home/charan/android/sdk/tools/android "list" "targets" result when throw error false: { stdout: 'available android targets:\n----------\nid: 1 or "android-19"\n     name: android 4.4.2\n     type: platform\n     api level: 19\n     revision: 4\n     skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in\n tag/abis : no abis.\n----------\nid: 2 or "android-22"\n     name: android 5.1.1\n     type: platform\n     api level: 22\n     revision: 2\n     skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in\n tag/abis : no abis.\n----------\nid: 3 or "android-23"\n     name: android 6.0\n     type: platform\n     api level: 23\n     revision: 3\n     skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in\n tag/abis : no abis.\n----------\nid: 4 or "android-24"\n     name: android 7.0\n     type: platform\n     api level: 24\n     revision: 1\n     skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in\n tag/abis : no abis.\n',   stderr: '',   exitcode: 0 } available android targets: ---------- id: 1 or "android-19"      name: android 4.4.2      type: platform      api level: 19      revision: 4      skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in  tag/abis : no abis. ---------- id: 2 or "android-22"      name: android 5.1.1      type: platform      api level: 22      revision: 2      skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in  tag/abis : no abis. ---------- id: 3 or "android-23"      name: android 6.0      type: platform      api level: 23      revision: 3      skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in  tag/abis : no abis. ---------- id: 4 or "android-24"      name: android 7.0      type: platform      api level: 24      revision: 1      skins: hvga, qvga, wqvga400, wqvga432, wsvga, wvga800 (default), wvga854, wxga720, wxga800, wxga800-7in  tag/abis : no abis.  directories found in /home/charan/android/sdk/build-tools 23.0.1, 23.0.3, 24.0.0, 24.0.1, 24.0.2 versions found in /home/charan/android/sdk/build-tools 23.0.1, 23.0.3, 24.0.0, 24.0.1, 24.0.2 selected version is:  24.0.2 selected targetsdk is: 24 directories found in /home/charan/android/sdk/extras/android/m2repository/com/android/support/appcompat-v7 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, maven-metadata.xml, maven-metadata.xml.md5, maven-metadata.xml.sha1 versions found in /home/charan/android/sdk/extras/android/m2repository/com/android/support/appcompat-v7 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 selected version is:  24.1.1 selected appcompat version is: 24.1.1 spawn: /var/www/ns/groceries_ts/sample-groceries/platforms/android/gradlew "clean" "-pcompilesdk=android-24" "-ptargetsdk=__apilevel__" "-pbuildtoolsversion=24.0.2" "-psupportversion=24.1.1"  :config phase:  createdefaultincludefiles  :config phase:  copyaardependencies  :config phase:  addaardependencies     +adding dependency: /var/www/ns/groceries_ts/sample-groceries/platforms/android/libs/aar/widgets-release.aar  build failed  total time: 7.507 secs [error: command /var/www/ns/groceries_ts/sample-groceries/platforms/android/gradlew failed exit code 1] error: command /var/www/ns/groceries_ts/sample-groceries/platforms/android/gradlew failed exit code 1     @ fiberfuture.future.wait (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:566:15)     @ /usr/local/lib/node_modules/nativescript/lib/services/platform-service.js:246:118     @ function.settle (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:249:26)     @ fiberfuture.future.wait (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:565:10)     @ /usr/local/lib/node_modules/nativescript/lib/common/helpers.js:224:36     @ platformservice.descriptor.value [as prepareplatformcore] (/usr/local/lib/node_modules/nativescript/lib/common/helpers.js:191:24)     @ /usr/local/lib/node_modules/nativescript/lib/services/platform-service.js:193:26     @ function.settle (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:249:26)     @ fiberfuture.future.wait (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:565:10)     @ /usr/local/lib/node_modules/nativescript/lib/services/platform-service.js:280:50     @ function.settle (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:249:26)     @ fiberfuture.future.wait (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:565:10)     @ /usr/local/lib/node_modules/nativescript/lib/services/platform-service.js:380:140     @ function.settle (/usr/local/lib/node_modules/nativescript/node_modules/fibers/future.js:249:26)     @ /usr/local/lib/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:257:28     @ arraymap (/usr/local/lib/node_modules/nativescript/node_modules/lodash/lodash.js:574:23)     - - - - -     @ childprocess.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/common/child-process.js:91:38)     @ emittwo (events.js:87:13)     @ childprocess.emit (events.js:172:7)     @ maybeclose (internal/child_process.js:821:16)     @ process.childprocess._handle.onexit (internal/child_process.js:211:5) processing node_modules failed. error: command /var/www/ns/groceries_ts/sample-groceries/platforms/android/gradlew failed exit code 1 analytics statuses:  { trackfeatureusage: 0, trackexceptions: 0 } trying track exception message 'processing node_modules failed. error: command /var/www/ns/groceries_ts/sample-groceries/platforms/android/gradlew failed exit code 1'. waiting analytics send information. check in 1000ms. statistics sent (xhr). waiting analytics send information. check in 1000ms. remaining time is: 29000 

open terminal , type android

the following dialog appear. scroll down 'extras' , find 'android support repository'. check click "install packages..."

enter image description here

once has installed build should complete without errors!


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -