semver.browser.js.gz file already in archive in sample-Groceries app
See original GitHub issueMy problem is similar to issue #601 but based on the notes there it should be fixed in version 1.1.2
I’m on version 1.4.3
$ tns --version
1.4.3
Unfortunately when I try to run sample-Groceries app from the tutorial I have the following error:
$ tns run android
Project successfully prepared
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
execute: copyAarDependencies, addAarDependencies before configuration
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:prepareChart201531016DevReleaseLibrary UP-TO-DATE
:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:prepareCommon201531016DevReleaseLibrary UP-TO-DATE
:prepareData201531016DevReleaseLibrary UP-TO-DATE
:prepareList201531016DevReleaseLibrary UP-TO-DATE
:preparePrimitives201531016DevReleaseLibrary UP-TO-DATE
:prepareDebugDependencies
:compileDebugAidl UP-TO-DATE
:compileDebugRenderscript UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:deleteJavaDir UP-TO-DATE
:cleanLocalAarFiles
:collectAllJars UP-TO-DATE
:ensureMetadataOutDir UP-TO-DATE
:buildMetadata UP-TO-DATE
:copyMetadata UP-TO-DATE
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:processDebugManifest UP-TO-DATE
:processDebugResourcesUnknown source file : Unable to add '/home/kyrisu/dev_temp/sample-Groceries/platforms/android/build/intermediates/assets/debug/app/tns_modules/semver/semver.browser.js.gz': file already in archive (try '-u'?)
Unknown source file : ERROR: unable to process assets while packaging '/home/kyrisu/dev_temp/sample-Groceries/platforms/android/build/intermediates/res/resources-debug.ap_'
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/kyrisu/bin/android-sdk-linux/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.09 secs
Command gradle failed with exit code 1
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Gzipping a js files creates an archive instead of attaching gz ...
When I gzip a javascript file, the output becomes a gz type archive folder, while inside the archive folder there is the original...
Read more >How To Optimize Your Site With GZIP Compression
Google and Yahoo use gzip compression. A modern browser is needed to enjoy modern web content and modern web speed — so gzip...
Read more >Use tar to combine multiple files into an archive file - IU KB
To use tar and gzip to combine multiple files into a compressed archive file (for example, my_files.tar. · To use tar and gzip...
Read more >Untitled
Pascal matematico wikipedia, Surprise puppy for daughter, Gz buchwiesen, ... Honorary doctorate certificate sample, Groceries to go san antonio, ...
Read more >How to unzip GZ files on Mac - Setapp
Learn to create and unzip GZ archives using a variety of built-in Mac tools as well as intuitive third-party apps.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If anyone still has this issue and updating samver does not help, try to update tns-core-modules and tns-android to @next version (2.5.0 development version in my case) …
Ran into this today also.
If the log4js dependency gets updated to 1.0.1 (latest), this shouldn’t be a problem anymore. log4js updated their semver dependency in 1.0.1 to a newer version that doesn’t include
semver.browser.js.gz