nativescript

Error is: Command ./gradlew failed with exit code 1

喜夏-厌秋 提交于 2020-07-30 12:52:30
问题 I am building an native android Wallpaper app using vue-cli. i am trying to make an image downloader using nativescript-downloader plugin of nativescript. After installing nativescript-downloader using npm install --save nativescript-downloader when I trying to debug using npm run debug:android getting this Error.Error log is given below. wallpaper@1.0.0 debug:android /home/darahat/Desktop/Wallpaper npm run debug -- --env.android wallpaper@1.0.0 debug /home/darahat/Desktop/Wallpaper webpack -

Nativescript-vue graphql backend?

我是研究僧i 提交于 2020-07-19 08:47:13
问题 Just started to experiment with nativescript-vue . Since it's pretty new, can't seem find good documentation on nativescript-vue integration with graphql. Tried vue-apollo, but can't install. When I do vue add apollo , it errors out. Is there any good docs on how to integrate nativescript-vue with graphql backend or more specifically via apollo ? 回答1: I want to confirm that nativescript-vue is working properly with vue-apollo . You should first install apollo-boost using npm or yarn yarn add

Nativescript 5.4.0 build fails with “couldn't find sbg-bindings.txt”

一个人想着一个人 提交于 2020-07-14 11:44:12
问题 Nativescript released 5.4.0 where hmr is enabled by default. After upgrade to 5.4.0, my nativescript cloud build as well as local build started breaking with following error message: Exception in thread "main" java.io.IOException: Couldn't find '/home/circleci/repo/platforms/android/build-tools/sbg-bindings.txt' bindings input file. Most probably there's an error in the JS Parser execution. You can run JS Parser with verbose logging by executing "node '/home/circleci/repo/platforms/android

Nativescript 5.4.0 build fails with “couldn't find sbg-bindings.txt”

∥☆過路亽.° 提交于 2020-07-14 11:43:50
问题 Nativescript released 5.4.0 where hmr is enabled by default. After upgrade to 5.4.0, my nativescript cloud build as well as local build started breaking with following error message: Exception in thread "main" java.io.IOException: Couldn't find '/home/circleci/repo/platforms/android/build-tools/sbg-bindings.txt' bindings input file. Most probably there's an error in the JS Parser execution. You can run JS Parser with verbose logging by executing "node '/home/circleci/repo/platforms/android

Google Maps API NativeScript custom marker icon

|▌冷眼眸甩不掉的悲伤 提交于 2020-07-11 04:55:41
问题 I try to create a marker with a custom icon with NativeScript and the Google maps API package. I added my icon to the android resources and then built my project a few times. var marker = new mapsModule.Marker(); marker.position = mapsModule.Position.positionFromLatLng(result.latitude, result.longitude); marker.title = "Home"; var icon = new Image(); icon.imageSource = imageSource.fromResource('bot_marker'); marker.icon = icon; marker.snippet = "This is where I live"; marker.userData = {

Pulling Sqlite database from android gives empty database

落爺英雄遲暮 提交于 2020-07-09 06:50:52
问题 I am developing a mobile application that uses Sqlite and I would like to pull the .db file from the phone and view it in DB Browser for Sqlite. The issue comes from the fact that when I run the adb commands the .db file I get is empty, even though I have creatd tables and added data to those tables in the database. In the application I query the database for the inserted records and they are returned. Any thoughts? adb command: adb exec-out run-as projectname cat databases/my.db > my.db db

Pulling Sqlite database from android gives empty database

橙三吉。 提交于 2020-07-09 06:49:12
问题 I am developing a mobile application that uses Sqlite and I would like to pull the .db file from the phone and view it in DB Browser for Sqlite. The issue comes from the fact that when I run the adb commands the .db file I get is empty, even though I have creatd tables and added data to those tables in the database. In the application I query the database for the inserted records and they are returned. Any thoughts? adb command: adb exec-out run-as projectname cat databases/my.db > my.db db

Pulling Sqlite database from android gives empty database

别说谁变了你拦得住时间么 提交于 2020-07-09 06:49:12
问题 I am developing a mobile application that uses Sqlite and I would like to pull the .db file from the phone and view it in DB Browser for Sqlite. The issue comes from the fact that when I run the adb commands the .db file I get is empty, even though I have creatd tables and added data to those tables in the database. In the application I query the database for the inserted records and they are returned. Any thoughts? adb command: adb exec-out run-as projectname cat databases/my.db > my.db db

Nativescript Angular code sharing project problem with Webpack

…衆ロ難τιáo~ 提交于 2020-07-03 12:59:27
问题 I have created a code-sharing projects with Angular 8.30 and Nativescript. When I run ng serve , the app builds ok. However with tns run android I have problems with Webpack. Here is the error: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. - options[0] misses the property 'patterns'. Should be: [non-empty string | object { from, to?, context?, globOptions?, toType?, force?, flatten?, transform?, cacheTransform?,

Nativescript Angular code sharing project problem with Webpack

纵然是瞬间 提交于 2020-07-03 12:58:48
问题 I have created a code-sharing projects with Angular 8.30 and Nativescript. When I run ng serve , the app builds ok. However with tns run android I have problems with Webpack. Here is the error: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. - options[0] misses the property 'patterns'. Should be: [non-empty string | object { from, to?, context?, globOptions?, toType?, force?, flatten?, transform?, cacheTransform?,