Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.2.2.
Cross-platform modules: N/A
Android Runtime: N/A
iOS Runtime: N/A
Plugin(s): N/A
Node.js: 10.16.0
[ ] Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
package.json.txtwebpack.config.txt
Describe the bug
When trying to build with these configurations:
tns build android --release --env.snapshot --clean --env.aot --env.compileSnapshot --env.uglify --key-store-path PATH file system --key-store-alias ALIAS --key-store-alias-password PASSWORD
The console throws this error:
ERROR in NativeScriptSnapshot. Snapshot generation failed!
Target architecture: armeabi-v7a
docker: Error response from daemon: invalid mode: /app.
See 'docker run --help'.
To Reproduce
Try to build on Windows 10 for Android with flag --env.snapshot using Docker Toolbox
Expected behavior
A complete .apk build
Additional context
It is important to note that I am using Docker Toolbox instead of Docker Desktop in order to overcome HyperV conflicts generated after Docker install working with Genymotion emulators.
Also it could be usefull this Blog:
https://nickjanetakis.com/blog/behind-the-scenes-of-debugging-an-error-that-i-couldnt-google
With that info I tried to look if the problem was generated with some weird folder name of my project path but even trying with a normal forder name in C:/ doesn´t worked.
:wave: @ofe2358, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please, use Stackoverflow to get help.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):CLI: 6.2.2.
Cross-platform modules: N/A
Android Runtime: N/A
iOS Runtime: N/A
Plugin(s): N/A
Node.js: 10.16.0
[ ] Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack package.json.txt webpack.config.txt
Describe the bug When trying to build with these configurations: tns build android --release --env.snapshot --clean --env.aot --env.compileSnapshot --env.uglify --key-store-path PATH file system --key-store-alias ALIAS --key-store-alias-password PASSWORD The console throws this error: ERROR in NativeScriptSnapshot. Snapshot generation failed! Target architecture: armeabi-v7a docker: Error response from daemon: invalid mode: /app. See 'docker run --help'.
To Reproduce Try to build on Windows 10 for Android with flag --env.snapshot using Docker Toolbox
Expected behavior A complete .apk build
Additional context It is important to note that I am using Docker Toolbox instead of Docker Desktop in order to overcome HyperV conflicts generated after Docker install working with Genymotion emulators. Also it could be usefull this Blog: https://nickjanetakis.com/blog/behind-the-scenes-of-debugging-an-error-that-i-couldnt-google With that info I tried to look if the problem was generated with some weird folder name of my project path but even trying with a normal forder name in C:/ doesn´t worked.