Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tns run android --env.snapshot generates Failed to capture fingerprint of output files for task ':app:mergeDebugAssets' property 'outputDir' during up-to-date check. #2

Open
Abdelkrim opened this issue Nov 18, 2018 · 0 comments

Comments

@Abdelkrim
Copy link
Contributor

  1. git clone
  2. run altf1be\GroceriesList>tns run android --env.snapshot
  3. Error is triggered What went wrong: Failed to capture fingerprint of output files for task ':app:mergeDebugAssets' property 'outputDir' during up-to-date check.

Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder.
Searching for devices...
Executing before-liveSync hook from altf1be\GroceriesList\hooks\before-liveSync\nativescript-angular-sync.js
Executing before-watchPatterns hook from altf1be\GroceriesList\hooks\before-watchPatterns\nativescript-dev-typescript.js
Executing before-watchPatterns hook from altf1be\GroceriesList\hooks\before-watchPatterns\nativescript-dev-webpack.js
Executing before-watch hook from altf1be\GroceriesList\hooks\before-watch\nativescript-dev-typescript.js
Found peer TypeScript 3.1.1

12:56:08 - Found 0 errors. Watching for file changes.
Executing before-watch hook from altf1be\GroceriesList\hooks\before-watch\nativescript-dev-webpack.js
Executing before-shouldPrepare hook from altf1be\GroceriesList\hooks\before-shouldPrepare\nativescript-dev-webpack.js
Skipping prepare.
Building project...
Gradle build...
+ setting applicationId
+ applying user-defined configuration from altf1be\GroceriesList\app\App_Resources\Android\app.gradle
Applying settings from altf1be\GroceriesList\app\App_Resources\Android\settings.json
Using support library version 28.0.0
+ adding nativescript runtime package dependency: nativescript-optimized-with-inspector
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-background-http\platforms\android\nativescript_background_http.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-camera\platforms\android\nativescript_camera.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-fresco\platforms\android\processors-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-geolocation\platforms\android\nativescript_geolocation.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-social-share\platforms\android\nativescript_social_share.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-autocomplete\platforms\android\TNSAutoComplete-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-calendar\platforms\android\TNSCalendar-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-chart\platforms\android\TNSChart-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-dataform\platforms\android\TNSDataForm-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-gauge\platforms\android\TNSGauge-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-listview\platforms\android\TNSListView-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-sidedrawer\platforms\android\TNSSideDrawer-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\nativescript-ui-core\platforms\android\TNSCore-release.aar
+ adding aar plugin dependency: altf1be\GroceriesList\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
<======-------> 50% EXECUTING [2s]

IDLE
(node:12796) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.bg
<======-------> 50% EXECUTING [21s]
IDLE
IDLE18 - Found 0 errors. Watching for file changes.
:app:runSbg
IDLE
<=========----> 70% EXECUTING [23s]
12:56:36 - File change detected. Starting incremental compilation...

FAILURE: Build failed with an exception.

  • What went wrong:
    Failed to capture fingerprint of output files for task ':app:mergeDebugAssets' property 'outputDir' during up-to-date check.

Could not read path 'altf1be\GroceriesList\platforms\android\app\build\intermediates\merged_assets\debug\mergeDebugAssets\out\app\tns_modules\kinvey-nativescript-sdk\node_modules\rxjs\add\operator'.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 25s

12:56:39 - Found 0 errors. Watching for file changes.
Unable to apply changes on device: emulator-5554. Error is: Command gradlew.bat failed with exit code 1.
Executing after-watch hook from altf1be\GroceriesList\hooks\after-watch\nativescript-dev-typescript.js
Stopping tsc watch
Executing after-watch hook from altf1be\GroceriesList\hooks\after-watch\nativescript-dev-webpack.js
Stopping webpack watch
Executing after-watch hook from altf1be\GroceriesList\hooks\after-watch\nativescript-dev-typescript.js
Executing after-watch hook from altf1be\GroceriesList\hooks\after-watch\nativescript-dev-webpack.js
Stopping webpack watch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant