EddyVerbruggen / nativescript-fingerprint-auth

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner or facial recognition!
MIT License
134 stars 33 forks source link

nativescript-vue gives gradlew error #32

Closed MisterBrownRSA closed 5 years ago

MisterBrownRSA commented 6 years ago

Simply created a new nativescript-vue (1.3.1) project, and installed the plugin. I don't see any configurations or pre-install steps that I need to follow.

It runs then stops at the following error:

Preparing project...
Successfully prepared plugin nativescript-fingerprint-auth for android.
Successfully prepared plugin nativescript-theme-core for android.
Successfully prepared plugin nativescript-vue for android.
Successfully prepared plugin tns-core-modules for android.
Successfully prepared plugin tns-core-modules-widgets for android.
Built aar for nativescript-fingerprint-auth
Project successfully prepared (Android)
Building project...
Gradle build...
         + applying user-defined configuration from C:\Projects\Nativescript\biometric_test\dist\app\App_Resources\Android\app.gradle
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
Configuration 'debugCompile' in project ':app' is deprecated. Use 'debugImplementation' instead.
         + adding nativescript runtime package dependency: nativescript-optimized
         + adding aar plugin dependency: C:\Projects\Nativescript\biometric_test\dist\node_modules\nativescript-fingerprint-auth\platforms\android\nativescript_fingerprint_auth.aar
         + adding aar plugin dependency: C:\Projects\Nativescript\biometric_test\dist\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
Unable to apply changes on device: emulator-5554. Error is: Command gradlew.bat failed with exit code 1.

package.json

"dependencies": {
    "nativescript-fingerprint-auth": "^6.0.3",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-vue": "^1.3.1",
    "tns-core-modules": "~3.4.1"
  },
  "devDependencies": {
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.4",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-preset-env": "^1.6.1",
    "copy-webpack-plugin": "^4.5.1",
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "^3.0.2",
    "fs-extra": "^5.0.0",
    "nativescript-vue-externals": "^0.1.2",
    "nativescript-vue-loader": "^0.1.5",
    "nativescript-vue-target": "^0.1.0",
    "nativescript-vue-template-compiler": "^1.3.1",
    "node-sass": "^4.7.2",
    "ns-vue-loader": "^0.1.2",
    "optimize-css-assets-webpack-plugin": "^3.2.0",
    "rimraf": "^2.6.2",
    "sass-loader": "^6.0.7",
    "vue-template-compiler": "^2.5.16",
    "webpack": "^3.11.0",
    "webpack-synchronizable-shell-plugin": "0.0.7",
    "winston-color": "^1.0.0"
  }

tns-android: 4.0.1

Please help ?