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.aot generates Execution failed for task ':app:mergeDebugAssets'.es. > java.nio.file.DirectoryNotEmptyException #1

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

Comments

@Abdelkrim
Copy link
Contributor

  1. git clone https://github.com/ALT-F1/GroceriesList.git
  2. run altf1be\GroceriesList>tns run android --env.aot
  3. Error is triggered Execution failed for task ':app:mergeDebugAssets'.es. > java.nio.file.DirectoryNotEmptyException'

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:05:38 - 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 [23s]

IDLE
(node:9504) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
<======-------> 50% EXECUTING [45s]
IDLE
<=========----> 70% EXECUTING [1m 3s]
IDLE
<=========----> 70% EXECUTING [1m 5s]

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:mergeDebugAssets'.es.

java.nio.file.DirectoryNotEmptyException: altf1be\GroceriesList\platforms\android\app\build\intermediates\merged_assets\debug\mergeDebugAssets\out\app\tns_modules@angular\core\esm5

@Abdelkrim Abdelkrim changed the title Execution failed for task ':app:mergeDebugAssets'.es. > java.nio.file.DirectoryNotEmptyException tns run android --env.aot generates Execution failed for task ':app:mergeDebugAssets'.es. > java.nio.file.DirectoryNotEmptyException Nov 18, 2018
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